View Source
  Class SimpleValidationModel
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public class SimpleValidationModel
   
  Constructors
  
  
    View Source
  
  SimpleValidationModel(IDictionary<String, Object>, String)
  
  
  Declaration
  
    public SimpleValidationModel(IDictionary<string, object> modelState, string message = "The request is invalid.")
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | IDictionary<System.String, System.Object> | modelState |  | 
      
        | System.String | message |  | 
    
  
  Properties
  
  
    View Source
  
  Message
  
  
  Declaration
  
    public string Message { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  ModelState
  
  
  Declaration
  
    public IDictionary<string, object> ModelState { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | IDictionary<System.String, System.Object> |  |