C# Class XAMLMarkupExtensions.Base.ObjectDependencyManager

This class ensures, that a specific object lives as long a associated object is alive. Based on:
Afficher le fichier Open project: MrCircuit/XAMLMarkupExtensions Class Usage Examples

Méthodes publiques

Méthode Description
CleanUp ( ) : void

This method cleans up all independent (!WeakReference.IsAlive) objects.

Private Methods

Méthode Description
AddObjectDependency ( WeakReference weakRefDp, object objToHold ) : bool
CleanUp ( object objToRemove ) : void
ObjectDependencyManager ( ) : System

Initializes static members of the ObjectDependencyManager class. Static Constructor. Creates a new instance of Dictionary(object, WeakReference) and set it to the internalList.

Method Details

CleanUp() public static méthode

This method cleans up all independent (!WeakReference.IsAlive) objects.
public static CleanUp ( ) : void
Résultat void