Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EventRegistry.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 Overridable Overloads Sub Unsubscribe( _
   ByVal subscriber As Object, _
   ByVal sourceType As Type _
) _
    Implements IEventRegistry.Unsubscribe
[C#]
public virtual void Unsubscribe(
   object subscriber,
   Type sourceType
);

Parameters

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

Implements

IEventRegistry.Unsubscribe

See Also

EventRegistry Class | Spring.Objects.Events.Support Namespace | EventRegistry.Unsubscribe Overload List