Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 2.1 KB

File metadata and controls

39 lines (27 loc) · 2.1 KB

Services Class

Index > ExpressionPowerTools.Core > ExpressionPowerTools.Core.Dependencies > Services

Container for services.

public class Services : IServices, IServiceRegistration

Inheritance ObjectServices

Implements IServiceRegistration , IServices

Remarks

Use the register overloads to register services. Call ExpressionPowerTools.Core.Dependencies.Services.Configured when done setting up and before attempting to retrieve other instances.

Constructors

Ctor Description
Services() Initializes a new instance of the Services class.

Methods

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