MetalamaAPI documentationExtensions APIMetalama.​Extensions.​Dependency­InjectionIntroduce­Dependency­AttributeIs­Lazy
Open sandboxFocus

IntroduceDependencyAttribute.IsLazy Property

IsLazy

Gets or sets a value indicating whether the dependency should be pulled from the container lazily, i.e. upon first use.

Declaration
public bool IsLazy { get; set; }
Property Value
Type Description
System.Boolean