ServiceProvider

Wisej.Services.ServiceProvider

Namespace: Wisej.Services

Assembly: Wisej.Framework (3.1.0.0)

Manages services for Wisej.NET's DI implementation.

public class ServiceProvider : IServiceProvider

Methods

Registers a scoped service.

Throws:

Registers a scoped service.

Throws:

Registers a scoped service.

Using this overload allows the application to register a service implementation that is loaded dynamically when requested. If implementationTypeName is a fully qualified type name, including the assembly name, the assembly and type are loaded on demand. Throws:

Registers a scoped service.

Throws:

Registers a scoped service.

Throws:

Returns the requested service.

Returns: T. An instance of T or null if the service is not found.

Returns the requested service.

Returns: Object. An instance of serviceType or null if the service is not found.

Throws:

Injects the services into the properties marked with the InjectAttribute attributed on the specified target object.

Throws:

Removes the specified service type from the service container.

Throws:

Last updated