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