Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEventRegistry.Subscribe(Object, Type) Method

Subscribes to the published events of all objects of a given Type, if the subscriber implements compatible handler methods.

[Visual Basic]
Public Sub Subscribe( _
   ByVal subscriber As Object, _
   ByVal targetSourceType As Type _
)
[C#]
void Subscribe(
   object subscriber,
   Type targetSourceType
);

Parameters

subscriber
The subscriber to use.
targetSourceType
The target Type to subscribe to.

See Also

IEventRegistry Interface | Spring.Objects.Events Namespace | IEventRegistry.Subscribe Overload List