Esempio n. 1
0
 public static ICanSpecifyAppMetricsTypes<TMessage, TCommand, TEvent, TRequest, TResponse> UsingAppMetricsMonitoring<TMessage, TCommand, TEvent, TRequest, TResponse>(
   this ICanAddEndpointOrLoggingOrCorrelationOrCreate<TMessage, TCommand, TEvent, TRequest, TResponse> config)
   where TMessage : class
   where TCommand : class, TMessage
   where TEvent : class, TMessage
   where TRequest : class, TMessage
   where TResponse : class, TMessage
 {
     return new AppMetricsMonitoringConfig<TMessage, TCommand, TEvent, TRequest, TResponse>(config);
 }
Esempio n. 2
0
 public static ICanSpecifyPerformanceCountersType <TMessage, TCommand, TEvent, TRequest, TResponse> UsingPerformanceCounterMonitoring <TMessage, TCommand, TEvent, TRequest, TResponse>(
     this ICanAddEndpointOrLoggingOrCorrelationOrCreate <TMessage, TCommand, TEvent, TRequest, TResponse> config)
     where TMessage : class
     where TCommand : class, TMessage
     where TEvent : class, TMessage
     where TRequest : class, TMessage
     where TResponse : class, TMessage
 {
     return(new PerformanceCountersMonitoringConfig <TMessage, TCommand, TEvent, TRequest, TResponse>(config));
 }
Esempio n. 3
0
 public static ICanSpecifyElasticSearchMonitoringType <TMessage, TCommand, TEvent, TRequest, TResponse> UsingElasticSearchMonitoring <TMessage, TCommand, TEvent, TRequest, TResponse>(
     this ICanAddEndpointOrLoggingOrCorrelationOrCreate <TMessage, TCommand, TEvent, TRequest, TResponse> config)
     where TMessage : class
     where TCommand : class, TMessage
     where TEvent : class, TMessage
     where TRequest : class, TMessage
     where TResponse : class, TMessage
 {
     return(new ElasticSearchMonitoringConfig <TMessage, TCommand, TEvent, TRequest, TResponse>(config));
 }
 public static ICanCreate <TMessage, TCommand, TEvent, TRequest, TResponse> UsingLog4Net <TMessage, TCommand, TEvent, TRequest, TResponse>(this ICanAddEndpointOrLoggingOrCorrelationOrCreate <TMessage, TCommand, TEvent, TRequest, TResponse> configurator,
                                                                                                                                           Func <IEndpoint <TMessage>, bool> enableLogging = null,
                                                                                                                                           Func <Type, LogLevel> logLevelSend    = null,
                                                                                                                                           Func <Type, LogLevel> logLevelReceive = null)
     where TMessage : class
     where TCommand : class, TMessage
     where TEvent : class, TMessage
     where TRequest : class, TMessage
     where TResponse : class, TMessage
 {
     return(configurator.UsingLogging(new Log4NetLogFactory(), enableLogging, logLevelSend, logLevelReceive));
 }
Esempio n. 5
0
 public PerformanceCountersMonitoringConfig(ICanAddEndpointOrLoggingOrCorrelationOrCreate <TMessage, TCommand, TEvent, TRequest, TResponse> config)
 {
     _config = config;
 }
 public SlackIntegrationConfig(ICanAddEndpointOrLoggingOrCorrelationOrCreate<IMessage, ICommand, IEvent, IRequest, IResponse> config)
 {
     _config = config;
 }
Esempio n. 7
0
 public static ICanSpecifySlackIntegrationToken WithSlackIntegration(
     this ICanAddEndpointOrLoggingOrCorrelationOrCreate <IMessage, ICommand, IEvent, IRequest, IResponse> config)
 {
     return(new SlackIntegrationConfig(config));
 }
Esempio n. 8
0
 public ElasticSearchMonitoringConfig(ICanAddEndpointOrLoggingOrCorrelationOrCreate <TMessage, TCommand, TEvent, TRequest, TResponse> config)
 {
     _config = config;
 }
Esempio n. 9
0
 public SlackIntegrationConfig(ICanAddEndpointOrLoggingOrCorrelationOrCreate <IMessage, ICommand, IEvent, IRequest, IResponse> config)
 {
     _config = config;
 }