C# Class Ninject.Extensions.WeakEventMessageBroker.MessageChannel

Inheritance: DisposableObject, IMessageChannel
Afficher le fichier Open project: ninject/Ninject.Extensions.WeakEventMessageBroker Class Usage Examples

Méthodes publiques

Méthode Description
AddPublication ( object instance, EventInfo eventInfo ) : void

AddSubscription ( object instance, MethodInfo method, DeliveryThread thread ) : void

Broadcast ( object sender, object args ) : void

Close ( ) : void

Closes the channel releasing its resources.

Disable ( ) : void

Disables the channel.

Dispose ( bool disposing ) : void

Releases resources held by the object.

Enable ( ) : void

Enables the channel.

MessageChannel ( string name ) : System

Raise ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
RemoveDeadEntries ( ) : void

Method Details

AddPublication() public méthode

public AddPublication ( object instance, EventInfo eventInfo ) : void
instance object
eventInfo System.Reflection.EventInfo
Résultat void

AddSubscription() public méthode

public AddSubscription ( object instance, MethodInfo method, DeliveryThread thread ) : void
instance object
method System.Reflection.MethodInfo
thread DeliveryThread
Résultat void

Broadcast() public méthode

public Broadcast ( object sender, object args ) : void
sender object
args object
Résultat void

Close() public méthode

Closes the channel releasing its resources.
public Close ( ) : void
Résultat void

Disable() public méthode

Disables the channel.
public Disable ( ) : void
Résultat void

Dispose() public méthode

Releases resources held by the object.
public Dispose ( bool disposing ) : void
disposing bool
Résultat void

Enable() public méthode

Enables the channel.
public Enable ( ) : void
Résultat void

MessageChannel() public méthode

public MessageChannel ( string name ) : System
name string The name of this channel.
Résultat System

Raise() public méthode

public Raise ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void