예제 #1
0
 public DeferredEventsCollection(ByteCollection collection)
 {
     Debug.Assert(collection != null);
     Debug.Assert(collection._deferredEvents == null);
     _collection = collection;
     _collection._deferredEvents = this;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the DynamicByteProvider class.
 /// </summary>
 /// <param name="bytes"></param>
 public DynamicByteProvider(ByteCollection bytes) => Bytes = bytes;