Class DisplayPlugin<TDisplayPlugin>
Base class for defining Atlas display plugin with registration.
Inheritance
System.Object
DisplayPlugin<TDisplayPlugin>
Implements
Namespace: MAT.Atlas.Client.Presentation.Plugins
Assembly: MAT.Atlas.Client.Presentation.dll
Syntax
public abstract class DisplayPlugin<TDisplayPlugin> : Object, IDisplayPlugin where TDisplayPlugin : IDisplayPlugin
Type Parameters
Name | Description |
---|---|
TDisplayPlugin | Display plugin type. |
Constructors
DisplayPlugin()
Constructor.
Declaration
protected DisplayPlugin()
Properties
DisplayPluginType
Display plugin type.
Declaration
public Type DisplayPluginType { get; }
Property Value
Type | Description |
---|---|
System.Type |
IconUri
Plugin icon to appear in the toolbar.
Declaration
public string IconUri { get; }
Property Value
Type | Description |
---|---|
System.String |
View
View class type.
Declaration
public Type View { get; }
Property Value
Type | Description |
---|---|
System.Type |
ViewModel
View model class type.
Declaration
public Type ViewModel { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
Register(ContainerBuilder)
Registers plugins and the display types
Declaration
public static void Register(ContainerBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
Autofac.ContainerBuilder | builder | Container builder. |