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

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

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

revision 402 by william, Thu Jun 21 06:30:33 2012 UTC revision 405 by william, Thu Jun 21 14:38:54 2012 UTC
# Line 8  namespace RomCheater.Serialization Line 8  namespace RomCheater.Serialization
8  {  {
9      public interface ISerializationResultCount      public interface ISerializationResultCount
10      {      {
11          int ResultCount { get; }          int ResultCount { get; }    
12      }      }
13      
14      public abstract class SerializationWriter : ISerializationResultCount, IDisposable      public abstract class SerializationWriter : ISerializationResultCount, IDisposable
15      {      {
16          private const string DEFAULT_FOLDER = "tmp";          private const string DEFAULT_FOLDER = "tmp";
# Line 21  namespace RomCheater.Serialization Line 22  namespace RomCheater.Serialization
22          public SerializationWriter(string filename, int resultCount, bool delete) { FileName = filename; ResultCount = resultCount; CreateFile(delete); }          public SerializationWriter(string filename, int resultCount, bool delete) { FileName = filename; ResultCount = resultCount; CreateFile(delete); }
23    
24          #region ISerializationResultCount members          #region ISerializationResultCount members
25          public int ResultCount { get; protected set; }                  public int ResultCount { get; protected set; }
26          #endregion          #endregion
27          private FileStream fileStream;          private FileStream fileStream;
28          protected BinaryWriter binWriter;          protected BinaryWriter binWriter;

Legend:
Removed from v.402  
changed lines
  Added in v.405

  ViewVC Help
Powered by ViewVC 1.1.22