26 references to ReadEvent
PresentationCore (26)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (26)
118
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] = new AutoResetEvent(false);
123
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] = new AutoResetEvent(false);
428
if (_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] != null)
429
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent].Set();
430
if (_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] != null)
431
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent].Set();
437
if (_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] != null)
439
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent].Close();
440
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] = null;
442
if (_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] != null)
444
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent].Close();
445
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] = null;
612
if (!_disposed && _readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] != null)
613
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent].Set();
645
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent].SafeWaitHandle,
1155
ReadEvent
eventFired;
1163
eventFired = (
ReadEvent
)index;
1168
eventFired =
ReadEvent
.FullDownloadReadEvent;
1178
if (eventFired ==
ReadEvent
.ByteRangeReadEvent)
1248
if (_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] != null)
1250
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent].Close();
1251
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] = null;
1286
if (_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] != null)
1288
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent].Close();
1289
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] = null;
1391
private EventWaitHandle[] _readEventHandles = new EventWaitHandle[(int)
ReadEvent
.MaxReadEventEnum];