EventTopic Members

Represents a point of communication on a certain topic between the topic publishers and the topic subscribers.

The following tables list the members exposed by the EventTopic type.

Public Constructors

  Name Description
Public method EventTopic  

Top

Public Properties

(see also Protected Properties )

  Name Description
Public property Enabled Gets or sets the enabled state of the topic. A disable topic will not fire events.
Public property Name Gets the topic name.
Public property PublicationCount Gets the count of registered publications with this EventTopic.
Public property SubscriptionCount Gets the count of registered subscriptions to this EventTopic.

Top

Protected Properties

  Name Description
Protected property TraceSource Sets the TraceSource to use for information tracing.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method AddPublication Adds a publication to the topic.
Public method AddSubscription Overloaded.  
Public method ContainsPublication Checks if the specified publication has been registered with this EventTopic.
Public method ContainsSubscription Checks if the specified subscription has been registered with this EventTopic.
Public method Dispose Overloaded.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method Fire Fires the EventTopic.
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method OnBuiltUp See OnBuiltUp for more information.
Public method OnTearingDown See OnTearingDown for more information.
Public method Static ReferenceEquals  (Inherited from Object.)
Public method RemovePublication Removes a publication from the topic.
Public method RemoveSubscription Removes a subscription from this EventTopic.
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Dispose Overloaded.  
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)

Top

See Also

Reference

EventTopic Class
Microsoft.Practices.CompositeUI.EventBroker Namespace