Interface IDependencyScope
- Namespace
- System.Web.Http.Dependencies
- Assembly
- System.Web.Http.dll
Represents an interface for the range of the dependencies.
public interface IDependencyScope : IDisposable
- Inherited Members
Methods
GetService(Type)
Retrieves a service from the scope.
object GetService(Type serviceType)
Parameters
serviceType
TypeThe service to be retrieved.
Returns
- object
The retrieved service.
GetServices(Type)
Retrieves a collection of services from the scope.
IEnumerable<object> GetServices(Type serviceType)
Parameters
serviceType
TypeThe collection of services to be retrieved.
Returns
- IEnumerable<object>
The retrieved collection of services.