C# Class WPFLocalizeExtension.Engine.ObjectDependencyManager

This class ensures, that a specific object lives as long a associated object is alive.
Afficher le fichier Open project: SeriousM/WPFLocalizationExtension

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