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

DependencyAttribute.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