Click or drag to resize
DigitalRuneWeakMulticastDelegateT Class
Represents a MulticastDelegate that stores the target objects as weak references.
Inheritance Hierarchy

Namespace: DigitalRune
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public class WeakMulticastDelegate<T> : WeakMulticastDelegate
where T : class

Type Parameters

T
The type of delegate.

The WeakMulticastDelegateT type exposes the following members.

Constructors
  NameDescription
Public methodWeakMulticastDelegateT
Initializes a new instance of the WeakMulticastDelegateT class
Top
Methods
  NameDescription
Public methodAdd(Delegate)
Adds a new Delegate to the WeakMulticastDelegate.
(Inherited from WeakMulticastDelegate.)
Public methodAdd(T)
Adds a new Delegate of a given type to the WeakMulticastDelegateT.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvoke
Invokes the stored Delegates with the given arguments.
(Inherited from WeakMulticastDelegate.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(Delegate)
Removes a Delegate from the WeakMulticastDelegate.
(Inherited from WeakMulticastDelegate.)
Public methodRemove(T)
Removes a Delegate of a given type from the WeakMulticastDelegateT.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCount
Gets the number of live delegates in the collection.
(Inherited from WeakMulticastDelegate.)
Top
Remarks
Important: In Silverlight, the targets of a WeakMulticastDelegate need to be public methods (no private, protected or anonymous methods). This is necessary because of security restrictions in Silverlight.
See Also