24 references to ReadEvent
PresentationCore (24)
MS\Internal\IO\Packaging\NetStream.cs (24)
97_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] = new AutoResetEvent(false); 102_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] = new AutoResetEvent(false); 399_readEventHandles[(int)ReadEvent.FullDownloadReadEvent]?.Set(); 400_readEventHandles[(int)ReadEvent.ByteRangeReadEvent]?.Set(); 406if (_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] != null) 408_readEventHandles[(int)ReadEvent.FullDownloadReadEvent].Close(); 409_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] = null; 411if (_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] != null) 413_readEventHandles[(int)ReadEvent.ByteRangeReadEvent].Close(); 414_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] = null; 569if (!_disposed && _readEventHandles[(int)ReadEvent.FullDownloadReadEvent] != null) 570_readEventHandles[(int)ReadEvent.FullDownloadReadEvent].Set(); 588_readEventHandles[(int)ReadEvent.ByteRangeReadEvent].SafeWaitHandle, 1083ReadEvent eventFired; 1091eventFired = (ReadEvent)index; 1096eventFired = ReadEvent.FullDownloadReadEvent; 1106if (eventFired == ReadEvent.ByteRangeReadEvent) 1171if (_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] != null) 1173_readEventHandles[(int)ReadEvent.FullDownloadReadEvent].Close(); 1174_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] = null; 1201if (_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] != null) 1203_readEventHandles[(int)ReadEvent.ByteRangeReadEvent].Close(); 1204_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] = null; 1300private EventWaitHandle[] _readEventHandles = new EventWaitHandle[(int)ReadEvent.MaxReadEventEnum];