Search Results for

    Show / Hide Table of Contents

    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 Source

    Singleton

    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 Source

    CreateInstance<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

    | Improve this Doc View Source

    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

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx