View Source
  Class NotificationMethodBase
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public abstract class NotificationMethodBase : IHealthCheckNotificationMethod, IDiscoverable
   
  Constructors
  
  
    View Source
  
  NotificationMethodBase(IOptionsMonitor<HealthChecksSettings>)
  
  
  Declaration
  
    protected NotificationMethodBase(IOptionsMonitor<HealthChecksSettings> healthCheckSettings)
   
  Parameters
  
  Properties
  
  
    View Source
  
  Enabled
  
  
  Declaration
  
    public bool Enabled { get; protected set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
    View Source
  
  FailureOnly
  
  
  Declaration
  
    public bool FailureOnly { get; protected set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
    View Source
  
  Settings
  
  
  Declaration
  
    public IDictionary<string, string>? Settings { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Nullable<IDictionary<System.String, System.String>> | 
         | 
      
    
  
  
    View Source
  
  Verbosity
  
  
  Declaration
  
    public HealthCheckNotificationVerbosity Verbosity { get; protected set; }
   
  Property Value
  
  Methods
  
  
    View Source
  
  SendAsync(HealthCheckResults)
  
  
  Declaration
  
    public abstract Task SendAsync(HealthCheckResults results)
   
  Parameters
  
  Returns
  
  
    View Source
  
  ShouldSend(HealthCheckResults)
  
  
  Declaration
  
    protected bool ShouldSend(HealthCheckResults results)
   
  Parameters
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         |