Class LazyWrapper<T>
A
Inheritance
System.Object
LazyWrapper<T>
Namespace: DotNetNuke.DependencyInjection
Assembly: DotNetNuke.DependencyInjection.dll
Syntax
public class LazyWrapper<T> : Lazy<T>
Type Parameters
Name | Description |
---|---|
T | The type of service to conditionally instantiate. |
Constructors
| Improve this Doc View SourceLazyWrapper(IServiceProvider)
Initializes a new instance of the LazyWrapper<T> class.
Declaration
public LazyWrapper(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The DI container. |