Пример #1
0
 public BaseNotifier()
 {
     NotifierOptions = new NotifierOptions
     {
         ProjectName = Assembly.GetEntryAssembly().GetName().Name,
         Environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")
     };
 }
 public ExceptionMessageBuilder(Exception exception, NotifierOptions notifierOptions, HttpRequest request)
 {
     ExceptionThrown = exception;
     NotifierOptions = notifierOptions;
     Request         = request;
 }