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. |