mscorlib(4.0.0.0) API with additions
IObserver.cs
1 namespace System
2 {
5  [__DynamicallyInvokable]
6  public interface IObserver<in T>
7  {
10  [__DynamicallyInvokable]
11  void OnNext(T value);
12 
15  [__DynamicallyInvokable]
16  void OnError(Exception error);
17 
19  [__DynamicallyInvokable]
20  void OnCompleted();
21  }
22 }
Provides a mechanism for receiving push-based notifications.
Definition: IObserver.cs:6
Definition: __Canon.cs:3
void OnError(Exception error)
Notifies the observer that the provider has experienced an error condition.
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition: Exception.cs:22
void OnNext(T value)
Provides the observer with new data.
void OnCompleted()
Notifies the observer that the provider has finished sending push-based notifications.