protected ExcelScheme(ILifetimeScope lifetimeScope) { this.lifetimeScope = lifetimeScope; IMgLogger mgLogger = lifetimeScope.Resolve <IMgLogger>(); if (mgLogger != null) { log = mgLogger.CreateLog(); } }
public LoginServices(IMgLogger logger = null) { if (logger != null) { log = logger.CreateLog(); } else { log = new NullMgLog(); } }
protected BaseApi(ApiServerInfo apiServerInfo, IMgLogger logger = null) { this.ApiServerInfo = apiServerInfo; if (logger != null) { log = logger.CreateLog(); } else { log = new NullMgLog(); } }