Interface IViewModelFactory
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
ModelType
Gets the type of the model.
Type ModelType { get; }
Property Value
Priority
Gets the priority.
int Priority { get; }
Property Value
Methods
GetViewModel(object, params object[])
Gets a view model for model
.
object GetViewModel(object model, params object[] parameters)
Parameters
model
objectModel for the view model.
parameters
object[]Parameters for the view model construction.
Returns
- object
A new view model.