Class ShipmentItemViewModelFactory
Factory for viewmodels
Inheritance
System.Object
ShipmentItemViewModelFactory
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.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public static class ShipmentItemViewModelFactory
Properties
| Improve this Doc View SourceFactories
Gets shipment items factories
Declaration
public static IDictionary<Guid, Func<ShipmentItem, ShipmentItemViewModel>> Factories { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Guid, System.Func<ShipmentItem, ShipmentItemViewModel>> |
ViewModelDataTemplates
Gets the list of viewmodel tempaltes by type
Declaration
public static IDictionary<Type, string> ViewModelDataTemplates { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Type, System.String> |
ViewModelTypes
Gets all viewmodel types
Declaration
public static IDictionary<Guid, Type> ViewModelTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Guid, System.Type> |
Methods
| Improve this Doc View SourceCreateNew(ShipmentItem)
Creates a new instance of ShipmentItemViewModel
Declaration
public static ShipmentItemViewModel CreateNew(ShipmentItem item)
Parameters
Type | Name | Description |
---|---|---|
ShipmentItem | item | Item instance |
Returns
Type | Description |
---|---|
ShipmentItemViewModel | Instance if mapping exists |