Пример #1
0
 public LogAttribute()
 {
     logger = ContainerContext.Resolve <ILogger>( );
 }
Пример #2
0
 public CacheAttribute()
 {
     cacheProvider = ContainerContext.Resolve <ICacheProvider>();
 }
Пример #3
0
 public ExceptionAttribute()
 {
     handler = ContainerContext.Resolve <IExceptionHandler>();
 }
Пример #4
0
 public BasicExceptionHandler()
 {
     logger = ContainerContext.Resolve <ILogger>();
 }
Пример #5
0
 public ExceptionAttribute(bool reThrowException = true)
 {
     reThrow = reThrowException;
     handler = ContainerContext.Resolve <IExceptionHandler>();
 }