AvaloniaLocator.RegistrationHelper<TService>.

AvaloniaLocator.

ToFunc<TImlp>(Func<TImlp>) Method

Syntax

public AvaloniaLocator ToFunc<TImlp>(Func<TImlp> func) where TImlp : TService

Type Parameters

Name Description
TImlp

Parameters

Name Type Description
func Func<TImlp>

Return Value

Type Description
AvaloniaLocator