Search Results for

    Show / Hide Table of Contents

    Class VehicleViewModelManager

    Contains the simplic logistics vehicle viewmodel manager to work with simplic vehicle

    Inheritance
    System.Object
    VehicleViewModelManager
    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 VehicleViewModelManager

    Properties

    | Improve this Doc View Source

    Singleton

    Gets the singleton access to the vehicle ui manager

    Declaration
    public static VehicleViewModelManager Singleton { get; }
    Property Value
    Type Description
    VehicleViewModelManager

    Methods

    | Improve this Doc View Source

    CreateInstance<T>(T)

    Creates a new viewmodel instance for a given vehicle

    Declaration
    public IVehicleViewModel CreateInstance<T>(T vehicle)
        where T : Vehicle
    Parameters
    Type Name Description
    T vehicle

    Vehicle instance to use for creation

    Returns
    Type Description
    IVehicleViewModel
    Type Parameters
    Name Description
    T

    Vehicle type

    | Improve this Doc View Source

    RegisterViewModelType<T, V>()

    Register a type of viewmodel for a type of vehicle

    Declaration
    public void RegisterViewModelType<T, V>()
        where T : Vehicle where V : IVehicleViewModel
    Type Parameters
    Name Description
    T

    Vehicle type

    V

    ViewModel type

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