Cql.Core.ServiceLocation by CQL,Jeremy Bell

<PackageReference Include="Cql.Core.ServiceLocation" Version="2.0.1" />

 ServiceResolver

public static class ServiceResolver
A wrapping class around the ServiceLocator implementation.
public static IServiceLocator ServiceLocator { get; }

Gets the service locator.

public static TService Resolve<TService>()

Get an instance of the given named TService.

public static TService Resolve<TService>(string key)

Get an instance of the given named TService.

public static object Resolve(Type serviceType)

Get an instance of the given named serviceType.

public static object Resolve(Type serviceType, string key)

Get an instance of the given named serviceType.