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

ViewTypeResolver.

Register<TView, TViewModel>(string?) Method

Summary

Register view Type with viewmodel Type.
Namespace
Sextant
Containing Type
ViewTypeResolver

Syntax

public void Register<TView, TViewModel>(string? contract = null) 
    where TView : IViewFor<TViewModel> where TViewModel : class, IViewModel

Type Parameters

Name Description
TView View Type.
TViewModel ViewModel Type.

Parameters

Name Type Description
contract string? The contract.

Return Value

Type Description
void