AvaloniaLocator.RegistrationHelper<TService>.

AvaloniaLocator.

ToSingleton<TImpl>() Method

Syntax

public AvaloniaLocator ToSingleton<TImpl>() where TImpl : class, TService, new()

Type Parameters

Name Description
TImpl

Return Value

Type Description
AvaloniaLocator