Class EquipmentViewModelManager
Contains the simplic logistics equipment viewmodel manager to work with simplic vehicle
Inheritance
System.Object
EquipmentViewModelManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.PlugIn.Logistics
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class EquipmentViewModelManager
Properties
| Improve this Doc View SourceSingleton
Gets the singleton access to the equipment viewmodel manager
Declaration
public static EquipmentViewModelManager Singleton { get; }
Property Value
Type | Description |
---|---|
EquipmentViewModelManager |
Methods
| Improve this Doc View SourceCreateInstance<E>(E)
Creates a new viewmodel instance for a given Equipment
Declaration
public IEquipmentItemViewModel CreateInstance<E>(E equipment)
where E : EquipmentItem
Parameters
Type | Name | Description |
---|---|---|
E | equipment | Equipment instance to use for creation |
Returns
Type | Description |
---|---|
IEquipmentItemViewModel |
Type Parameters
Name | Description |
---|---|
E | Vehicle type |
RegisterViewModelType<E, V>()
Register a type of viewmodel for a type of Equipment
Declaration
public void RegisterViewModelType<E, V>()
where E : EquipmentItem where V : IEquipmentItemViewModel
Type Parameters
Name | Description |
---|---|
E | Equipment type |
V | ViewModel type |