/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/Events.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/Events.cs

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

revision 446 by william, Sun Jun 2 19:52:03 2013 UTC revision 473 by william, Mon Jun 3 09:21:03 2013 UTC
# Line 43  namespace RomCheater.PluginFramework.Eve Line 43  namespace RomCheater.PluginFramework.Eve
43          uint CurrentIndex { get; }          uint CurrentIndex { get; }
44          uint TotalCount { get; }          uint TotalCount { get; }
45          bool Canceled { get; set; }          bool Canceled { get; set; }
46            bool ReportProgress { get; }
47      };      };
48      public class OnBytesReadEventArgs : BaseEventArgs, IOnBytesReadEventArgs      public class OnBytesReadEventArgs : BaseEventArgs, IOnBytesReadEventArgs
49      {      {
50          public OnBytesReadEventArgs() : this(null) { }          public OnBytesReadEventArgs() : this(null) { }
51          public OnBytesReadEventArgs(object sender) : this(sender, null, new byte[] { }, 0, 1) { }          public OnBytesReadEventArgs(object sender) : this(sender, null, new byte[] { }, 0, 1) { }
52          public OnBytesReadEventArgs(object sender, object userState, byte[] data, uint currentIndex, uint totalCount)          public OnBytesReadEventArgs(object sender, object userState, byte[] data, uint currentIndex, uint totalCount)
53                : this(sender, userState, data, currentIndex, totalCount, true) { }
54            public OnBytesReadEventArgs(object sender, object userState, byte[] data, uint currentIndex, uint totalCount, bool reportprogess)
55              : base(sender)              : base(sender)
56          {          {
57              this.UserState = userState;              this.UserState = userState;
58              Data = data;              Data = data;
59              this.CurrentIndex = currentIndex;              this.CurrentIndex = currentIndex;
60              this.TotalCount = totalCount;              this.TotalCount = totalCount;
61                this.ReportProgress = reportprogess;
62          }          }
63          #region OnBytesReadEventArgs members          #region OnBytesReadEventArgs members
64          public object UserState { get; private set; }          public object UserState { get; private set; }
# Line 62  namespace RomCheater.PluginFramework.Eve Line 66  namespace RomCheater.PluginFramework.Eve
66          public uint CurrentIndex { get; private set; }          public uint CurrentIndex { get; private set; }
67          public uint TotalCount { get; private set; }          public uint TotalCount { get; private set; }
68          public bool Canceled { get; set; }          public bool Canceled { get; set; }
69            public bool ReportProgress { get; private set; }
70          #endregion          #endregion
71      }      }
72  #endregion  #endregion

Legend:
Removed from v.446  
changed lines
  Added in v.473

  ViewVC Help
Powered by ViewVC 1.1.22