AvaloniaLocator.RegistrationHelper<TService>.

AvaloniaLocator.

ToConstant<TImpl>(TImpl) Method

Syntax

public AvaloniaLocator ToConstant<TImpl>(TImpl constant) where TImpl : TService

Type Parameters

Name Description
TImpl

Parameters

Name Type Description
constant TImpl

Return Value

Type Description
AvaloniaLocator