Debian Codegraph @

external/rx/Rx/NET/Source/System.Reactive.WindowsRuntime/IEventPatternSource.cs

raw
1 // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
2
3 #if HAS_WINRT
4 using Windows.Foundation;
5
6 namespace System.Reactive
7 {
8 /// <summary>
9 /// Represents a data stream signaling its elements by means of an event.
10 /// </summary>
11 /// <typeparam name="TSender">Sender type.</typeparam>
12 /// <typeparam name="TEventArgs">Event arguments type.</typeparam>
13 public interface IEventPatternSource<TSender, TEventArgs>
14 {
15 /// <summary>
16 /// Event signaling the next element in the data stream.
17 /// </summary>
18 event TypedEventHandler<TSender, TEventArgs> OnNext;
19 }
20 }
21 #endif