NotifyPropertyChangedDispatcherObject, classe
Cette classe représente un objet associé avec le répartiteur et implémente l'interface d'INotifyPropertyChanged.
Hiérarchie d'héritage
System.Object
Microsoft.TeamFoundation.MVVM.NotifyPropertyChangedDispatcherObject
Microsoft.TeamFoundation.MVVM.BackgroundCommand
Microsoft.TeamFoundation.MVVM.QueuedCommand
Microsoft.TeamFoundation.MVVM.RelayCommand
Microsoft.TeamFoundation.MVVM.ViewModelBase
Espace de noms : Microsoft.TeamFoundation.MVVM
Assembly : Microsoft.TeamFoundation.Controls (dans Microsoft.TeamFoundation.Controls.dll)
Syntaxe
'Déclaration
Public MustInherit Class NotifyPropertyChangedDispatcherObject _
Implements INotifyPropertyChanged, IWeakEventListener
public abstract class NotifyPropertyChangedDispatcherObject : INotifyPropertyChanged,
IWeakEventListener
Le type NotifyPropertyChangedDispatcherObject expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
NotifyPropertyChangedDispatcherObject() | Initialise une nouvelle instance de la classe de NotifyPropertyChangedDispatcherObject. |
![]() |
NotifyPropertyChangedDispatcherObject(Dispatcher) | Initialise une nouvelle instance de la classe de NotifyPropertyChangedDispatcherObject. |
Début
Propriétés
Nom | Description | |
---|---|---|
![]() |
Dispatcher | Répartiteur associé à cet objet. |
Début
Méthodes
Nom | Description | |
---|---|---|
![]() |
AddDependencySource(String, INotifyCollectionChanged) | |
![]() |
AddDependencySource(String, INotifyPropertyChanged) | |
![]() |
CheckAccess | |
![]() |
CheckAccessBeginExecute | Exécute l'action spécifiée sur un thread associé avec le répartiteur de l'objet. Il appelle un BeginInvoke sur le répartiteur, n'attend pas l'action de fin -- est retourné immédiatement. |
![]() |
CheckAccessExecute(Action) | Exécute l'action spécifiée sur un thread associé avec le répartiteur de l'objet. |
![]() |
CheckAccessExecute<TResult>(Func<TResult>) | |
![]() |
Equals | Détermine si l'objet spécifié est identique à l'objet actuel. (Hérité de Object.) |
![]() |
Finalize | Autorise un objet à tenter de libérer des ressources et d'exécuter d'autres opérations de nettoyage avant qu'il ne soit récupéré par l'opération garbage collection. (Hérité de Object.) |
![]() |
GetDependencySourceName(INotifyCollectionChanged) | |
![]() |
GetDependencySourceName(INotifyPropertyChanged) | |
![]() |
GetHashCode | Sert de fonction de hachage pour un type particulier. (Hérité de Object.) |
![]() |
GetType | Obtient le Type de l'instance actuelle. (Hérité de Object.) |
![]() |
MemberwiseClone | Crée une copie superficielle de l'objet Object actuel. (Hérité de Object.) |
![]() |
RaisePropertyChanged | Événement PropertyChanged de raise.Cette méthode peut être appelée sur le thread associé avec le répartiteur de cet objet. |
![]() |
ReceiveWeakEvent | |
![]() |
RemoveDependencySource(String, INotifyCollectionChanged) | |
![]() |
RemoveDependencySource(String, INotifyPropertyChanged) | |
![]() |
SetAndRaisePropertyChanged(Boolean%, Boolean, String) | Une méthode d'assistance qui valeur de propriété définit et événement PropertyChanged de raise si la valeur a changé. Implémentation optimisée pour le type de System.Boolean. |
![]() |
SetAndRaisePropertyChanged(Int32%, Int32, String) | Une méthode d'assistance qui valeur de propriété définit et événement PropertyChanged de raise si la valeur a changé. Implémentation optimisée pour le type System.Int32. |
![]() |
SetAndRaisePropertyChanged(String%, String, String) | Une méthode d'assistance qui valeur de propriété définit et événement PropertyChanged de raise si la valeur a changé. Implémentation optimisée pour le type chaîne. |
![]() |
SetAndRaisePropertyChanged<T>(T%, T, String) | Une méthode d'assistance qui valeur de propriété définit et événement PropertyChanged de raise si la valeur a changé. |
![]() |
ToString | Retourne une chaîne qui représente l'objet actif. (Hérité de Object.) |
![]() |
VerifyAccess | Garantit que le thread appelant a accès à cet objet. |
Début
Événements
Nom | Description | |
---|---|---|
![]() |
PropertyChanged | Se produit en cas de modification d'une valeur de propriété. |
Début
Implémentations d'interface explicite
Nom | Description | |
---|---|---|
![]() ![]() |
IWeakEventListener.ReceiveWeakEvent |
Début
Sécurité des threads
Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.