/[EmuXPortal]/trunk/EmuXPortal/Api/RomParser.cs
ViewVC logotype

Diff of /trunk/EmuXPortal/Api/RomParser.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 85 by william, Tue Jun 19 03:38:40 2012 UTC revision 105 by william, Wed Aug 22 02:36:47 2012 UTC
# Line 9  using System.Diagnostics; Line 9  using System.Diagnostics;
9    
10  namespace EmuXPortal.Api  namespace EmuXPortal.Api
11  {  {
12      public class RomParser      public class RomParser :IDisposable
13      {      {
14          private IEmuConfig Config { get; set; }          private IEmuConfig Config { get; set; }
15          public RomParser(IEmuConfig config)          public RomParser(IEmuConfig config)
# Line 78  namespace EmuXPortal.Api Line 78  namespace EmuXPortal.Api
78              public IEmuConfig RomConfig { get; private set; }              public IEmuConfig RomConfig { get; private set; }
79              #endregion              #endregion
80          }          }
81    
82            public void Dispose()
83            {
84                Roms.ForEach(x => x.Dispose());
85                Roms.Clear();
86                Roms = null;
87            }
88      }      }
89  }  }

Legend:
Removed from v.85  
changed lines
  Added in v.105

  ViewVC Help
Powered by ViewVC 1.1.22