// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: IObserver ** ** kimhamil ** ** ** Purpose: Interface for exposing an Observer in the ** Observer pattern ** ** ===========================================================*/ using System; namespace System { public interface IObserver { void OnNext(T value); void OnError(Exception error); void OnCompleted(); } }