BehaviorSubject<T> Class
Inheritance Hierarchy
System.Object
Microsoft.Phone.Reactive.ReplaySubject<T>
Microsoft.Phone.Reactive.BehaviorSubject<T>
Namespace: Microsoft.Phone.Reactive
Assembly: Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)
Syntax
'Declaration
Public Class BehaviorSubject(Of T) _
Inherits ReplaySubject(Of T)
public class BehaviorSubject<T> : ReplaySubject<T>
generic<typename T>
public ref class BehaviorSubject : public ReplaySubject<T>
type BehaviorSubject<'T> =
class
inherit ReplaySubject<'T>
end
Type Parameters
- T
The BehaviorSubject<T> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BehaviorSubject<T>(T) | ||
BehaviorSubject<T>(T, IScheduler) |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCompleted | (Inherited from ReplaySubject<T>.) | |
OnError | (Inherited from ReplaySubject<T>.) | |
OnNext | (Inherited from ReplaySubject<T>.) | |
Subscribe | (Inherited from ReplaySubject<T>.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.