Provides programmatic configuration for the Simple Injector on top of IServiceProvider.
Inheritance Hierarchy
SimpleInjector.AdvancedApiObject
SimpleInjectorSimpleInjectorUseOptions
Namespace: SimpleInjector
Assembly: SimpleInjector.Integration.ServiceCollection (in SimpleInjector.Integration.ServiceCollection.dll) Version: 5.0.0
Syntax
The SimpleInjectorUseOptions type exposes the following members.
Properties
Name | Description | |
---|---|---|
ApplicationServices |
Gets the IServiceProvider that provides access to the framework's singleton
services.
| |
AutoCrossWireFrameworkComponents |
Gets or sets a value indicating whether or not Simple Injector should try to load framework
components from the framework's configuration system or not. The default is true.
| |
Container |
Gets the application's Simple Injector Container.
| |
Services |
Gets the IServiceCollection that contains the collection of framework components.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from ApiObject.) | |
GetHashCode | Serves as the default hash function. (Inherited from ApiObject.) | |
GetType | Gets the Type of the current instance. (Inherited from ApiObject.) | |
ToString | Returns a string that represents the current object. (Inherited from ApiObject.) |
See Also