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