IServiceProvider class abstract interface

Service provider interface

Implemented types
Implementers
Available extensions

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

createScope() IServiceScope
Create a scope
inherited
getService<T>(ServiceDescriptor<T> descriptor) → T
Use descriptor to fetch or create a service instance.
getServices(Iterable<ServiceDescriptor> descriptors) Iterable<Object>

Available on IServiceProvider, provided by the ServiceProviderExtensions extension

Get a service iterable by descriptors
getServicesOfType<T>(Iterable<ServiceDescriptor<T>> descriptors) Iterable<T>

Available on IServiceProvider, provided by the ServiceProviderExtensions extension

Get a service iterable by descriptors
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