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

DependencyResolverMixins.

ResolveView<TViewModel>(IReadonlyDependencyResolver, 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, string? contract = null) 
    where TViewModel : class

Type Parameters

Name Description
TViewModel The viewmodel Type.

Parameters

Name Type Description
dependencyResolver IReadonlyDependencyResolver The dependencyResolver.
contract string? The contract.

Return Value

Type Description
Type? The view Type again.