Table of Contents

Interface IViewModelFactory

Namespace
Loehnert.Lisrt.Framework.Services
Assembly
Loehnert.Lisrt.dll

Represents an interface for a view model factory.

public interface IViewModelFactory

Properties

Key

Gets the key, e.g. "Service" for a service view model.

string Key { get; }

Property Value

string

ModelType

Gets the type of the model.

Type ModelType { get; }

Property Value

Type

Priority

Gets the priority.

int Priority { get; }

Property Value

int

Methods

GetViewModel(object, params object[])

Gets a view model for model.

object GetViewModel(object model, params object[] parameters)

Parameters

model object

Model for the view model.

parameters object[]

Parameters for the view model construction.

Returns

object

A new view model.