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

SextantHelper.

RegisterView<TView, TViewModel>(string?) Method

Summary

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

Syntax

[Obsolete("Use the dependency resolver mixins.")]
public static void RegisterView<TView, TViewModel>(string? contract = null) 
    where TView : IViewFor, new() where TViewModel : class, IViewModel

Attributes

Type Description
ObsoleteAttribute

Type Parameters

Name Description
TView The type of view to register.
TViewModel The type of view model to register.

Parameters

Name Type Description
contract string? An optional contract which will only provide a value if this contract is passed.

Return Value

Type Description
void