/[RomCheater]/trunk/RomCheater/Serialization/SearchResultWriter.cs
ViewVC logotype

Diff of /trunk/RomCheater/Serialization/SearchResultWriter.cs

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

revision 447 by william, Sun Jun 2 19:58:37 2013 UTC revision 448 by william, Sun Jun 2 20:22:04 2013 UTC
# Line 15  namespace RomCheater.Serialization Line 15  namespace RomCheater.Serialization
15      {      {
16    
17          private int ResultsWritten = 0;          private int ResultsWritten = 0;
18            protected override string TemporaryFolder { get { return SearchResultsConstants.SearchResultsFolder; } }
19          //public SearchResultWriter() : base() { }          //public SearchResultWriter() : base() { }
20          public SearchResultWriter(int resultCount, Guid guid) : base(resultCount, guid) { WriteHeader(guid); }          public SearchResultWriter(int resultCount, Guid guid) : base(resultCount, guid) { WriteHeader(guid); }
21          //public SearchResultWriter(string filename, Guid guid) : base(CreateFileName(filename,guid), guid) { WriteHeader(guid); }          //public SearchResultWriter(string filename, Guid guid) : base(CreateFileName(filename,guid), guid) { WriteHeader(guid); }
# Line 95  namespace RomCheater.Serialization Line 95  namespace RomCheater.Serialization
95    
96          protected override void Dispose(bool disposing)          protected override void Dispose(bool disposing)
97          {          {
98              if (Cancelled) { return; }              if (Cancelled) { binWriter.Close(); fileStream.Close(); return; }
99              try              try
100              {              {
101                  base.Dispose(disposing);                  base.Dispose(disposing);

Legend:
Removed from v.447  
changed lines
  Added in v.448

  ViewVC Help
Powered by ViewVC 1.1.22