The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

DefaultViewModelFactory.

Create<TViewModel>(string?) Method

Summary

Creates an instance of the specified view model.
Namespace
Sextant
Containing Type
DefaultViewModelFactory

Syntax

public TViewModel Create<TViewModel>(string? contract = null) where TViewModel : IViewModel

Type Parameters

Name Description
TViewModel The type of the view model.

Parameters

Name Type Description
contract string? The contract.

Return Value

Type Description
TViewModel A view model instance.