Export (0) Print
Expand All

Notification<T>.OnNext Class

March 22, 2012

Represents an OnNext notification to an observer.

System.Object
  Microsoft.Phone.Reactive.Notification<T>
    Microsoft.Phone.Reactive.Notification<T>.OnNext

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public sealed class OnNext : Notification<T>

The Notification<T>.OnNext generic type exposes the following members.

  NameDescription
Public methodNotification<T>.OnNextConstructs a notification of a new value.
Top

  NameDescription
Public propertyExceptionReturns null. (Overrides Notification<T>.Exception.)
Public propertyHasValueReturns true. (Overrides Notification<T>.HasValue.)
Public propertyKindReturns OnNext. (Overrides Notification<T>.Kind.)
Public propertyValueReturns OnNext. (Overrides Notification<T>.Value.)
Top

  NameDescription
Public methodAccept(IObserver<T>)Invokes the observer's method corresponding to the notification. (Inherited from Notification<T>.) (Overrides Notification<T>.Accept(IObserver<T>).)
Public methodAccept(Action<T>, Action<Exception>, Action)Invokes the delegate corresponding to the notification. (Inherited from Notification<T>.) (Overrides Notification<T>.Accept(Action<T>, Action<Exception>, Action).)
Public methodAccept<TResult>(IObserver<T, TResult>)Invokes the observer's method corresponding to the notification and returns the produced result. (Inherited from Notification<T>.)
Public methodAccept<TResult>(IObserver<T, TResult>)Invokes the observer's method corresponding to the notification and returns the produced result. (Inherited from Notification<T>.) (Overrides Notification<T>.Accept<TResult>(IObserver<T, TResult>).)
Public methodAccept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>)Invokes the delegate corresponding to the notification and returns the produced result. (Inherited from Notification<T>.)
Public methodAccept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>)Invokes the delegate corresponding to the notification and returns the produced result. (Inherited from Notification<T>.) (Overrides Notification<T>.Accept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>).)
Public methodEquals(Object)Indicates whether this instance and a specified object are equal. (Inherited from Notification<T>.)
Public methodEquals(Notification<T>)Indicates whether this instance and another are equal. (Overrides Notification<T>.Equals(Notification<T>).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Overrides Notification<T>.GetHashCode().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string representation of this instance. (Overrides Object.ToString().)
Top

  NameDescription
Public Extension MethodToObservable<T>()Overloaded. Converts the Notification to an Observable. (Defined by Notification.)
Public Extension MethodToObservable<T>(IScheduler)Overloaded. Converts the Notification to an Observable. (Defined by Notification.)
Top

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show:
© 2014 Microsoft