C# Класс Ninject.Extensions.WeakEventMessageBroker.MessageChannel

Наследование: DisposableObject, IMessageChannel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
RemoveDeadEntries ( ) : void

Описание методов

AddPublication() публичный Метод

public AddPublication ( object instance, EventInfo eventInfo ) : void
instance object
eventInfo System.Reflection.EventInfo
Результат void

AddSubscription() публичный Метод

public AddSubscription ( object instance, MethodInfo method, DeliveryThread thread ) : void
instance object
method System.Reflection.MethodInfo
thread DeliveryThread
Результат void

Broadcast() публичный Метод

public Broadcast ( object sender, object args ) : void
sender object
args object
Результат void

Close() публичный Метод

Closes the channel releasing its resources.
public Close ( ) : void
Результат void

Disable() публичный Метод

Disables the channel.
public Disable ( ) : void
Результат void

Dispose() публичный Метод

Releases resources held by the object.
public Dispose ( bool disposing ) : void
disposing bool
Результат void

Enable() публичный Метод

Enables the channel.
public Enable ( ) : void
Результат void

MessageChannel() публичный Метод

public MessageChannel ( string name ) : System
name string The name of this channel.
Результат System

Raise() публичный Метод

public Raise ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void