Interface IModelFactory<TModel>
- Assembly
- McMaster.Extensions.CommandLineUtils.dll
Strongly-typed factory for creating model instances without reflection.
public interface IModelFactory<TModel> : IModelFactory where TModel : class
Type Parameters
TModelThe model type to create.
Methods
Create()
Creates a new model instance.
TModel Create()
Returns
- TModel
A new instance of the model.