C# Class Ninject.Extensions.WeakEventMessageBroker.MessageChannel

Inheritance: DisposableObject, IMessageChannel
Mostrar archivo Open project: ninject/Ninject.Extensions.WeakEventMessageBroker Class Usage Examples

Public Methods

Method 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

Method Description
RemoveDeadEntries ( ) : void

Method Details

AddPublication() public method

public AddPublication ( object instance, EventInfo eventInfo ) : void
instance object
eventInfo System.Reflection.EventInfo
return void

AddSubscription() public method

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

Broadcast() public method

public Broadcast ( object sender, object args ) : void
sender object
args object
return void

Close() public method

Closes the channel releasing its resources.
public Close ( ) : void
return void

Disable() public method

Disables the channel.
public Disable ( ) : void
return void

Dispose() public method

Releases resources held by the object.
public Dispose ( bool disposing ) : void
disposing bool
return void

Enable() public method

Enables the channel.
public Enable ( ) : void
return void

MessageChannel() public method

public MessageChannel ( string name ) : System
name string The name of this channel.
return System

Raise() public method

public Raise ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void