Пример #1
0
 public ExceptionFactory(IExceptionDataFactory dataFactory,
                         IExceptionDataSaver dataSaver,
                         SettingsFactory settingsFactory)
 {
     _dataFactory     = dataFactory;
     _dataSaver       = dataSaver;
     _settingsFactory = settingsFactory;
 }
Пример #2
0
 public Exception(ExceptionData data,
                  IExceptionDataSaver dataSaver,
                  IExceptionFactory exceptionFactory)
 {
     _data             = data;
     _dataSaver        = dataSaver;
     _exceptionFactory = exceptionFactory;
 }