ServiceScopeFactory class abstract
A factory for creating instances of ServiceScope,
which is used to create services within a scope.
- Available extensions
Constructors
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
- 
  createAsyncScope() → AsyncDisposable 
- 
      Available on ServiceScopeFactory, provided by the ServiceScopeFactoryExtensions extension Creates a newAsyncServiceScopethat can be used to resolve scoped services.
- 
  createScope() → ServiceScope 
- 
  Create an ServiceScopewhich contains an ServiceProvider used to resolve dependencies from a newly created scope.
- 
  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