Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.78 KB

IPublisherExtension.md

File metadata and controls

18 lines (13 loc) · 1.78 KB

IPublisherExtension Class

Provides set of static methods to automatically subscribe MessageHandler<T>(T) methods marked with the SubscribeAttribute on a IPublisher instance.

public static class IPublisherExtension

Inheritance System.Object 🡒 IPublisherExtension

Methods
Subscribe(this IPublisher, Type) Subscribes automatically methods of a Type marked with the SubscribeAttribute on an IPublisher instance.
Subscribe<T>(this IPublisher) Subscribes automatically methods of a Type marked with the SubscribeAttribute on an IPublisher instance.
Subscribe<T>(this IPublisher, T) Subscribes automatically methods of an instance and its Type marked with the SubscribeAttribute on an IPublisher instance.