View Source
  Class NotificationExtensions
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public static class NotificationExtensions
   
  Methods
  
  
    View Source
  
  WithState<T>(T, Nullable<IDictionary<String, Object>>)
  
  
  Declaration
  
    public static T WithState<T>(this T notification, IDictionary<string, object>? state)
    where T : IStatefulNotification
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T | 
        notification | 
         | 
      
      
        | System.Nullable<IDictionary<System.String, System.Object>> | 
        state | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
  
    View Source
  
  WithStateFrom<T, TSource>(T, TSource)
  
  
  Declaration
  
    public static T WithStateFrom<T, TSource>(this T notification, TSource source)
    where T : IStatefulNotification where TSource : IStatefulNotification
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T | 
        notification | 
         | 
      
      
        | TSource | 
        source | 
         | 
      
    
  
  Returns
  
  Type Parameters
  
    
      
        | Name | 
        Description | 
      
    
    
      
        | T | 
         | 
      
      
        | TSource | 
         |