AsyncServiceScope class
A ServiceScope implementation that implements AsyncDisposable.
Adapted from Microsoft.Extensions.DependencyInjection.AsyncServiceScope
- Implemented types
Constructors
- AsyncServiceScope(ServiceScope serviceScope)
-
Initializes a new instance of the AsyncServiceScope class. Wraps
an instance of ServiceScope.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceProvider → ServiceProvider
-
The ServiceProvider used to resolve dependencies from the scope.
no setteroverride
Methods
-
dispose(
) → void -
Performs application-defined tasks associated with freeing, releasing,
or resetting unmanaged resources.
override
-
disposeAsync(
) → Future< void> -
Performs application-defined tasks associated with freeing, releasing,
or resetting unmanaged resources asynchronously.
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