ComposablePartWithContextT Class |
Namespace: TomsToolbox.Wpf.Composition
public abstract class ComposablePartWithContext<T> : ObservableObject, IComposablePartWithContext where T : class
The ComposablePartWithContextT type exposes the following members.
Name | Description | |
---|---|---|
ComposablePartWithContextT | Initializes a new instance of the ComposablePartWithContextT class |
Name | Description | |
---|---|---|
CompositionContext |
Gets the composition context.
| |
Dispatcher |
Gets the dispatcher of the thread where this object was created.
(Inherited from ObservableObject.) |
Name | Description | |
---|---|---|
DetachEventSource |
Detaches the event source.
(Inherited from ObservableObjectBase.) | |
DetachEventSources |
Detaches all event sources.
(Inherited from ObservableObjectBase.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ObservableObjectBase.) | |
GetDataErrors |
Gets the validation errors for a specified property or for the entire entity.
(Inherited from ObservableObjectBase.) | |
OnCompositionContextChanged |
Called when the composition context has changed.
The base implementations raised the PropertyChanged event.
| |
OnDataErrorsEvaluated |
Called when data errors have been evaluated. Used e.g. to track data errors for each property.
(Inherited from ObservableObjectBase.) | |
OnErrorsChanged |
Raises the ErrorsChanged event.
(Inherited from ObservableObjectBase.) | |
OnPropertyChanged(String) |
Raises the PropertyChanged event for the property with the specified name.
[NotifyPropertyChangedInvocator] (Inherited from ObservableObjectBase.) | |
OnPropertyChangedT(ExpressionFuncT) |
Raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] (Inherited from ObservableObjectBase.) | |
RelayEventsOf(INotifyPropertyChanged) |
Relays the property changed events of the source object.
The properties to relay must be declared with the RelayedEventAttribute.
(Inherited from ObservableObjectBase.) | |
RelayEventsOf(INotifyPropertyChanged, INotifyPropertyChanged) |
Relays the property changed events of the source object (if not null) and detaches the old source (if not null).
(Inherited from ObservableObjectBase.) | |
SetPropertyT(T, T, ExpressionFuncT) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] (Inherited from ObservableObjectBase.) | |
SetPropertyT(T, T, String) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] (Inherited from ObservableObjectBase.) | |
SetPropertyT(T, T, ExpressionFuncT, ActionT, T) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] (Inherited from ObservableObjectBase.) | |
SetPropertyT(T, T, String, ActionT, T) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] (Inherited from ObservableObjectBase.) | |
SetPropertyT(T, T, ActionT, T, String) |
Sets the property and raises the PropertyChanged event for the property identified by the specified property expression.
[NotifyPropertyChangedInvocator] (Inherited from ObservableObjectBase.) |
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when a property value changes.
(Inherited from ObservableObjectBase.) |
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions.) |