C# Класс Foundation.IMessagerObjectExt

Extends IMessengerObject with two static publish extension methods
Показать файл Открыть проект

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

Метод Описание
Publish ( this message ) : void

Publishes the object via Messenger.SendMessage.

Publish ( this message, object ignore ) : void

Publishes the object via Messenger.SendMessage.

PublishAndCache ( this message ) : void

Publishes the message to most delegates listening to this message. Caches the message for late subscribers

PublishAndCache ( this message, object ignore ) : void

Publishes the object via Messenger.SendMessage. and caches it

RemoveCache ( this message ) : void

Removes the message from the cache

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

Publish() публичный статический Метод

Publishes the object via Messenger.SendMessage.
public static Publish ( this message ) : void
message this the message
Результат void

Publish() публичный статический Метод

Publishes the object via Messenger.SendMessage.
public static Publish ( this message, object ignore ) : void
message this the message
ignore object Ignores all delegates member to this instance.
Результат void

PublishAndCache() публичный статический Метод

Publishes the message to most delegates listening to this message. Caches the message for late subscribers
public static PublishAndCache ( this message ) : void
message this the message
Результат void

PublishAndCache() публичный статический Метод

Publishes the object via Messenger.SendMessage. and caches it
public static PublishAndCache ( this message, object ignore ) : void
message this the message
ignore object Object instance to ignore when sending. Used to prevent recursive calls.
Результат void

RemoveCache() публичный статический Метод

Removes the message from the cache
public static RemoveCache ( this message ) : void
message this the message
Результат void