Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 private void ResetSyncPoint()
 {
     _awaiter = SyncPoint.Create(out _syncPoint, _runContinuationsAsynchronously);
 }
 private void ResetSyncPoint()
 {
     _awaiter = SyncPoint.Create(out _syncPoint);
 }