Interface IContainerResolver
Onbox's IOC container read only contract
Inherited Members
System.IDisposable.Dispose()
Namespace: Onbox.Abstractions.V8
Assembly: Onbox.Abstractions.dll
Syntax
public interface IContainerResolver : IDisposable
Methods
| Improve this Doc View SourceCreateScope()
Creates a scoped context copy of this container
Declaration
IContainerResolver CreateScope()
Returns
Type | Description |
---|---|
IContainerResolver |
Resolve(Type)
Asks the container for a new instance of a type
Declaration
object Resolve(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Returns
Type | Description |
---|---|
System.Object |
Resolve<T>()
Asks the container for a new instance of a type
Declaration
T Resolve<T>()
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |