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