A base class to be used for an observer subject, observing a generic System.Object
| C# | Visual Basic | Visual C++ |
public class ObserverSubject : ObserverSubject<Object>
Public Class ObserverSubject _ Inherits ObserverSubject(Of Object)
public ref class ObserverSubject : public ObserverSubject<Object^>
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ObserverSubject()()() | ||
| Attach(IObserver<(Of <(TMessage>)>)) |
Attaches and observer to the current subject
(Inherited from ObserverSubject<(Of <(TMessage>)>).) | |
| Detach(IObserver<(Of <(TMessage>)>)) |
Detaches an observer from the current subejct.
(Inherited from ObserverSubject<(Of <(TMessage>)>).) | |
| Dispose(Boolean) |
Disposes of the resources (other than memory) used by the Acrux.Threading.Specialized.ObserverSubject.
(Inherited from ObserverSubject<(Of <(TMessage>)>).) | |
| Dispose()()() |
Releases all resources used by the Acrux.Threading.Specialized.ObserverSubject.
(Inherited from ObserverSubject<(Of <(TMessage>)>).) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Finalizer to be called by the Garbage Collector to release all unmanaged resources used by the Acrux.Threading.Specialized.ObserverSubject.
(Inherited from ObserverSubject<(Of <(TMessage>)>).) | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (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.) | |
| SubjectUniqueId |
The unique id of the subject that can be used to identify it within the boundaries of a process
(Inherited from ObserverSubject<(Of <(TMessage>)>).) | |
| ToString()()() | (Inherited from Object.) | |
| Update(TMessage) |
Sends a message to all observers to be updated. Observers that are UI controls will receive the notification in their own thread
and all other observers will receive the message asynchronously in a new thread.
(Inherited from ObserverSubject<(Of <(TMessage>)>).) |
| Object | ||
| ObserverSubject<(Of <(Object>)>) | ||
| ObserverSubject | ||