Class EditorViewModelBase<T>
Common functionality for the an editor view model.
Inherited Members
Namespace: Gorgon.Editor.UI
Assembly: Gorgon.Editor.API.dll
Syntax
public abstract class EditorViewModelBase<T> : ViewModelBase<T, IHostServices>, IViewModel, INotifyPropertyChanged, INotifyPropertyChanging where T : class, IViewModelInjection<IHostServices>
Type Parameters
Name | Description |
---|---|
T | The type of dependency injection object. Must be a class, and implement IViewModelInjection<T>. |
Remarks
Developers can use this to implement basic view models for various UI elements. This type provides basic common functionality for custom views so developers can have more freedom when implementing their own views. For more complete common content functionality, there are several base view model types that wrap up common functionality. For example, when developing a content editor plug in developers should use the ContentEditorViewModelBase<T> as a base view model type.