diff options
Diffstat (limited to 'Rx/NET/Source/System.Reactive.Interfaces/Reactive/IEventPatternSource.cs')
-rw-r--r-- | Rx/NET/Source/System.Reactive.Interfaces/Reactive/IEventPatternSource.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Rx/NET/Source/System.Reactive.Interfaces/Reactive/IEventPatternSource.cs b/Rx/NET/Source/System.Reactive.Interfaces/Reactive/IEventPatternSource.cs new file mode 100644 index 0000000..d87010d --- /dev/null +++ b/Rx/NET/Source/System.Reactive.Interfaces/Reactive/IEventPatternSource.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. + +namespace System.Reactive +{ + /// <summary> + /// Represents a data stream signaling its elements by means of an event. + /// </summary> + /// <typeparam name="TEventArgs">The type of the event data generated by the event.</typeparam> + public interface IEventPatternSource<TEventArgs> +#if !NO_EVENTARGS_CONSTRAINT + where TEventArgs : EventArgs +#endif + { + /// <summary> + /// Event signaling the next element in the data stream. + /// </summary> + event EventHandler<TEventArgs> OnNext; + } +} |