Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEventRegistry.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 Sub Unsubscribe( _
   ByVal subscriber As Object, _
   ByVal targetSourceType As Type _
)
[C#]
void Unsubscribe(
   object subscriber,
   Type targetSourceType
);

Parameters

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

See Also

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