示例#1
0
 public SyncPointMemoryStream(bool runContinuationsAsynchronously = true)
 {
     _runContinuationsAsynchronously = runContinuationsAsynchronously;
     _currentData = Array.Empty <byte>();
     _awaiter     = SyncPoint.Create(out _syncPoint, _runContinuationsAsynchronously);
 }
 public SyncPointMemoryStream()
 {
     _currentData = Array.Empty <byte>();
     _awaiter     = SyncPoint.Create(out _syncPoint);
 }
示例#3
0
 private void ResetSyncPoint()
 {
     _awaiter = SyncPoint.Create(out _syncPoint, _runContinuationsAsynchronously);
 }
 private void ResetSyncPoint()
 {
     _awaiter = SyncPoint.Create(out _syncPoint);
 }