using System; namespace PaintDotNet { public sealed class IOEventArgs : EventArgs { /// /// Whether we are reporting a Read or Write operation. /// private IOOperationType ioOperationType; public IOOperationType IOOperationType { get { return ioOperationType; } } /// /// The offset within the file that the operation is to begin, or has finished, at. /// private long position; public long Position { get { return position; } } /// /// The number of bytes that were read or written. /// private int count; public int Count { get { return count; } } public IOEventArgs(IOOperationType ioOperationType, long position, int count) { this.ioOperationType = ioOperationType; this.position = position; this.count = count; } } }