public SharedReader(IWaitStrategy waitHandleReader, IWaitOnceStrategy waitHandleWriter, Synchronizer syncRoot, Func <TRead> reader) { _waitHandleReader = waitHandleReader; _waitHandleWriter = waitHandleWriter; _reader = reader; _syncRoot = syncRoot; }
//private TWrite _buffer; #endregion public SharedWriter(IWaitStrategy waitHandleReader, IWaitOnceStrategy waitHandleWriter, Synchronizer syncRoot, Action <TWrite> write) { _waitHandleReader = waitHandleReader; _waitHandleWriter = waitHandleWriter; _syncRoot = syncRoot; _write = write; }