Share via


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
Public method NotifyPropertyChangedDispatcherObject() Initializes a new instance of the NotifyPropertyChangedDispatcherObject class.
Public method NotifyPropertyChangedDispatcherObject(Dispatcher) Initializes a new instance of the NotifyPropertyChangedDispatcherObject class.

Top

Properties

  Name Description
Public property Dispatcher Dispatcher associated with this object.

Top

Methods

  Name Description
Protected method AddDependencySource(String, INotifyCollectionChanged)
Protected method AddDependencySource(String, INotifyPropertyChanged)
Public method 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.
Public method CheckAccessExecute(Action) Executes the specified action on a thread associated with object's dispatcher.
Public method CheckAccessExecute<TResult>(Func<TResult>) Executes the specified action on a thread associated with object's dispatcher.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetDependencySourceName(INotifyCollectionChanged)
Protected method GetDependencySourceName(INotifyPropertyChanged)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method RaisePropertyChanged Raises PropertyChanged event. This method can only be called on the thread associated with this object's dispatcher.
Protected method ReceiveWeakEvent
Protected method RemoveDependencySource(String, INotifyCollectionChanged)
Protected method RemoveDependencySource(String, INotifyPropertyChanged)
Protected method 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.
Protected method 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.
Protected method 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.
Protected method SetAndRaisePropertyChanged<T>(T, T, String) A helper method that sets property value and raises PropertyChanged event if the value has changed.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method VerifyAccess Enforces that the calling thread has access to this object.

Top

Events

  Name Description
Public event PropertyChanged Occurs when a property value changes.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.TeamFoundation.MVVM Namespace