DryIocDependencyResolver(IContainer?) constructor¶
Defined in
Type: DryIocDependencyResolver
Namespace: Splat.DryIoc
Assembly: Splat.DryIoc.dll
Applies to
net11.0, net10.0, netstandard2.0, net472, net481, net48
public DryIocDependencyResolver(IContainer? container = null)
View source (opens in a new tab)
Summary: Provides an implementation of the IDependencyResolver interface using a DryIoc container for dependency resolution and registration. https://bitbucket.org/dadhi/dryioc/wiki/Home (opens in a new tab).
Parameters
| Name | Type | Description |
|---|---|---|
container = null | IContainer? | The DryIoc container to use for service resolution and registration. If null, a new container instance is created. |
Remarks
This resolver enables integration with DryIoc for managing service lifetimes and contracts. If no container is supplied, the resolver creates and manages its own internal container instance. Thread safety and disposal of the underlying container are managed by this class.