Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractApplicationContext.Subscribe(Object, Type) Method

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

[Visual Basic]
Public NotOverridable Overloads Sub Subscribe( _
   ByVal subscriber As Object, _
   ByVal targetSourceType As Type _
) _
    Implements IEventRegistry.Subscribe
[C#]
public void Subscribe(
   object subscriber,
   Type targetSourceType
);

Parameters

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

Implements

IEventRegistry.Subscribe

See Also

AbstractApplicationContext Class | Spring.Context.Support Namespace | AbstractApplicationContext.Subscribe Overload List | Subscribe