DefaultServiceProviderFactory class
Default implementation of ServiceProviderFactory<TContainerBuilder>.
- Implemented types
Constructors
- DefaultServiceProviderFactory({ServiceProviderOptions? options})
- Initializes a new instance of the DefaultServiceProviderFactory class with the specified options or default options if none is provided.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createBuilder(
ServiceCollection services) → ServiceCollection -
Creates a container builder from a ServiceCollection.
override
-
createServiceProvider(
ServiceCollection containerBuilder) → ServiceProvider -
Creates a ServiceProvider from the container builder.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited