Class EditorToolViewModelInjection
Common editor tool view model parameters.
Inherited Members
Namespace: Gorgon.Editor.UI.ViewModels
Assembly: Gorgon.Editor.API.dll
Syntax
public class EditorToolViewModelInjection : ViewModelInjection<IHostContentServices>, IEditorToolViewModelInjection, IViewModelInjection<IHostContentServices>
Remarks
These parameters are meant to be passed to a view model based on the EditorToolViewModelBase<T> type and will contain services from the host application, and any other information required for editor tool plug in view models.
Tool plug in developers will use types derived from this type to pass custom initialization parameters to their tool plug in view models.
Constructors
| Edit this page View SourceEditorToolViewModelInjection(IContentFileManager, IHostContentServices)
Initializes a new instance of the EditorToolViewModelInjection class.
Declaration
public EditorToolViewModelInjection(IContentFileManager contentFileManager, IHostContentServices hostServices)
Parameters
Type | Name | Description |
---|---|---|
IContentFileManager | contentFileManager | The content file manager. |
IHostContentServices | hostServices | The host services. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thown when the |
See Also
Properties
| Edit this page View SourceContentFileManager
Property to return the file manager for content files.
Declaration
public IContentFileManager ContentFileManager { get; }
Property Value
Type | Description |
---|---|
IContentFileManager |