public TaskWorker(string id = null) { Id = id; _logger = IoCFactory.Resolve <ILoggerFactory>().Create(this.GetType()); }
public ExceptionManager() { Logger = IoCFactory.IsInit() ? IoCFactory.Resolve <ILoggerFactory>().Create(GetType().Name) : null; }
public TaskWorker(string id = null) { Id = id; _logger = IoCFactory.IsInit() ? IoCFactory.Resolve <ILoggerFactory>().Create(GetType()) : null; }