NotifyPropertyChangedDispatcherObject Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This class represents an object associated with dispatcher and implements INotifyPropertyChanged interface.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.MVVM.NotifyPropertyChangedDispatcherObject
Microsoft.TeamFoundation.MVVM.BackgroundCommand
Microsoft.TeamFoundation.MVVM.RelayCommand
Microsoft.TeamFoundation.MVVM.ViewModelBase
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public MustInherit Class NotifyPropertyChangedDispatcherObject _
Implements INotifyPropertyChanged, IWeakEventListener
public abstract class NotifyPropertyChangedDispatcherObject : INotifyPropertyChanged,
IWeakEventListener
public ref class NotifyPropertyChangedDispatcherObject abstract : INotifyPropertyChanged,
IWeakEventListener
[<AbstractClass>]
type NotifyPropertyChangedDispatcherObject =
class
interface INotifyPropertyChanged
interface IWeakEventListener
end
public abstract class NotifyPropertyChangedDispatcherObject implements INotifyPropertyChanged, IWeakEventListener
The NotifyPropertyChangedDispatcherObject type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NotifyPropertyChangedDispatcherObject() | Initializes a new instance of the NotifyPropertyChangedDispatcherObject class. | |
NotifyPropertyChangedDispatcherObject(Dispatcher) | Initializes a new instance of the NotifyPropertyChangedDispatcherObject class. |
Top
Properties
Name | Description | |
---|---|---|
Dispatcher | Dispatcher associated with this object. |
Top
Methods
Name | Description | |
---|---|---|
AddDependencySource(String, INotifyCollectionChanged) | ||
AddDependencySource(String, INotifyPropertyChanged) | ||
CheckAccessBeginExecute | Executes the specified action on a thread associated with object's dispatcher. This invokes a BeginInvoke on the Dispatcher, does not wait for the action to complete -- returns immediately. | |
CheckAccessExecute(Action) | Executes the specified action on a thread associated with object's dispatcher. | |
CheckAccessExecute<TResult>(Func<TResult>) | Executes the specified action on a thread associated with object's dispatcher. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDependencySourceName(INotifyCollectionChanged) | ||
GetDependencySourceName(INotifyPropertyChanged) | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RaisePropertyChanged | Raises PropertyChanged event. This method can only be called on the thread associated with this object's dispatcher. | |
ReceiveWeakEvent | ||
RemoveDependencySource(String, INotifyCollectionChanged) | ||
RemoveDependencySource(String, INotifyPropertyChanged) | ||
SetAndRaisePropertyChanged(Boolean, Boolean, String) | A helper method that sets property value and raises PropertyChanged event if the value has changed. Optimized implementation for System.Boolean type. | |
SetAndRaisePropertyChanged(Int32, Int32, String) | A helper method that sets property value and raises PropertyChanged event if the value has changed. Optimized implementation for System.Int32 type. | |
SetAndRaisePropertyChanged(String, String, String) | A helper method that sets property value and raises PropertyChanged event if the value has changed. Optimized implementation for string type. | |
SetAndRaisePropertyChanged<T>(T, T, String) | A helper method that sets property value and raises PropertyChanged event if the value has changed. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
VerifyAccess | Enforces that the calling thread has access to this object. |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property value changes. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IWeakEventListener.ReceiveWeakEvent |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.