Index > ExpressionPowerTools.Core > ExpressionPowerTools.Core.Dependencies > Services
Container for services.
public class Services : IServices, IServiceRegistrationInheritance Object → Services
Implements IServiceRegistration , IServices
Use the register overloads to register services. Call ExpressionPowerTools.Core.Dependencies.Services.Configured when done setting up and before attempting to retrieve other instances.
| Ctor | Description |
|---|---|
| Services() | Initializes a new instance of the Services class. |
| Method | Description |
|---|---|
| T GetService<T>(Object[] parameters) | Get a service based on registration. |
| IServiceRegistration Register<T, TImpl>() | Register a service. |
| IServiceRegistration RegisterGeneric(Type signature, Type implementation) | Register a generic service. |
| Void RegisterServices(Action<IServiceRegistration> register) | Register multiple services and call configured. |
| IServiceRegistration RegisterSingleton<T>(T instance) | Register a singleton to satisfy a type request. |
| Generated | Copyright | Version |
|---|---|---|
| 02/22/2021 21:59:57 | (c) Copyright 2020 Jeremy Likness. | 0.9.7-beta |