C# 클래스 Foundation.IMessagerObjectExt

Extends IMessengerObject with two static publish extension methods
파일 보기 프로젝트 열기: NVentimiglia/Unity3d-Foundation

공개 메소드들

메소드 설명
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