Click or drag to resize
DigitalRuneWeakMulticastDelegate 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

The WeakMulticastDelegate type exposes the following members.

Constructors
  NameDescription
Public methodWeakMulticastDelegate
Initializes a new instance of the WeakMulticastDelegate class
Top
Methods
  NameDescription
Public methodAdd
Adds a new Delegate to the WeakMulticastDelegate.
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes a Delegate from the WeakMulticastDelegate.
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.
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