static GlobalLogger() { _contextProvider = (DependencyInjection.IInstanceProvider <DbModels.Log.LogDbContext>) DependencyInjection.ObjectFactory.GetInstance(typeof(DependencyInjection.IInstanceProvider <DbModels.Log.LogDbContext>)); }
public LogServiceLogic(DependencyInjection.IInstanceProvider <DbModels.Log.LogDbContext> contextProvider) { _contextProvider = contextProvider; }