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