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

DependencyResolverMixins.

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

Summary

Registers the specified view with the Splat locator.
Namespace
Sextant
Containing Type
DependencyResolverMixins

Syntax

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

Type Parameters

Name Description
TView The type of the view.
TViewModel The type of the view model.

Parameters

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

Return Value

Type Description
IMutableDependencyResolver The dependencyResovler.