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

DependencyResolverMixins.

RegisterViewUWP<TView, TViewModel>(IMutableDependencyResolver, string?) Method

Summary

Register view for viewmodel, but only return view type for UWP frame.
Namespace
Sextant
Containing Type
DependencyResolverMixins

Syntax

public static IMutableDependencyResolver RegisterViewUWP<TView, TViewModel>(this IMutableDependencyResolver dependencyResolver, string? contract = null) 
    where TView : IViewFor<TViewModel>, new() where TViewModel : class, IViewModel

Type Parameters

Name Description
TView The view type.
TViewModel The viewmodel type.

Parameters

Name Type Description
dependencyResolver IMutableDependencyResolver The dependency resolver.
contract string? The contract.

Return Value

Type Description
IMutableDependencyResolver The dependencyResolver.