Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractApplicationContext.Unsubscribe(Object, Type) Method

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

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

Parameters

subscriber
The subscriber to use.
targetSourceType
The target Type to unsubscribe from

Implements

IEventRegistry.Unsubscribe

See Also

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