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

DependencyResolverMixins.

ResolveView<TViewModel>(IReadonlyDependencyResolver, TViewModel, string?) Method

Summary

Helper method to get view type for viewmodel.
Namespace
Sextant
Containing Type
DependencyResolverMixins

Syntax

public static Type? ResolveView<TViewModel>(this IReadonlyDependencyResolver dependencyResolver, TViewModel viewModel, string? contract = null) 
    where TViewModel : class, IViewModel

Type Parameters

Name Description
TViewModel The viewmodel Type.

Parameters

Name Type Description
dependencyResolver IReadonlyDependencyResolver The dependencyResolver.
viewModel TViewModel The viewmodel.
contract string? The contract.

Return Value

Type Description
Type? The view Type again.