Acrux.Threading
ObserverSubject<(Of <(TMessage>)>) Class
NamespacesAcrux.Threading.SpecializedObserverSubject<(Of <(TMessage>)>)
Represents a base class to be used as a subject when implementing an Observer design pattern
Declaration Syntax
C#Visual BasicVisual C++
public class ObserverSubject<TMessage> : IDisposable
Public Class ObserverSubject(Of TMessage) _
	Implements IDisposable
generic<typename TMessage>
public ref class ObserverSubject : IDisposable
Generic Template Parameters
TMessage
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ObserverSubject<(Of <(TMessage>)>)()()()
Creates a new Acrux.Threading.Specialized.ObserveSubject instance

Attach(IObserver<(Of <(TMessage>)>))
Attaches and observer to the current subject

Detach(IObserver<(Of <(TMessage>)>))
Detaches an observer from the current subejct.

Dispose(Boolean)
Disposes of the resources (other than memory) used by the Acrux.Threading.Specialized.ObserverSubject.

Dispose()()()
Releases all resources used by the Acrux.Threading.Specialized.ObserverSubject.

Equals(Object)
Determines whether the specified Object is equal to the current 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.
(Overrides Object.Finalize()()().)
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

ToString()()()
Returns a String that represents the current Object.
(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.

Inheritance Hierarchy
Object
ObserverSubject<(Of <(TMessage>)>)
 ObserverSubject

Assembly: Acrux.Threading (Module: Acrux.Threading) Version: 1.0.0.0 (1.0.0.35)