Class DbIoc
- Namespace
- H.Services.Common
- Assembly
- H.Services.Common.dll
public static class DbIoc
- Inheritance
-
DbIoc
- Inherited Members
-
Properties
Services
public static IServiceProvider Services { get; }
Property Value
- IServiceProvider
Methods
public static void ConfigureServices(Action<IServiceCollection> action)
Parameters
action
Action<IServiceCollection>
GetService<T>(bool)
public static T GetService<T>(bool throwIfNone = true)
Parameters
throwIfNone
bool
Returns
- T
Type Parameters
T
Rebuild()
public static void Rebuild()