AvaloniaLocator.RegistrationHelper<TService>.

AvaloniaLocator.

ToLazy<TImlp>(Func<TImlp>) Method

Syntax

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

Type Parameters

Name Description
TImlp

Parameters

Name Type Description
func Func<TImlp>

Return Value

Type Description
AvaloniaLocator