View Source
  Class UdiRange
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
  
  
  Constructors
  
  
    View Source
  
  UdiRange(Udi, String)
  Initializes a new instance of the UdiRange class with a Udi and an optional
selector.
Declaration
  
    public UdiRange(Udi udi, string selector = "this")
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Udi | udi | A Udi. | 
      
        | System.String | selector | An optional selector. | 
    
  
  Properties
  
  
    View Source
  
  EntityType
  Gets the entity type of the Udi for this range.
Declaration
  
    public string EntityType { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  Selector
  Gets or sets the selector for this range.
Declaration
  
    public string Selector { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
    View Source
  
  Udi
  Gets the Udi for this range.
Declaration
  
  Property Value
  
  Methods
  
  
    View Source
  
  Equals(Object)
  
  
  Declaration
  
    public override bool Equals(object obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Object | obj |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  
    View Source
  
  Parse(String)
  
  
  Declaration
  
    public static UdiRange Parse(string value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | value |  | 
    
  
  Returns
  
  
    View Source
  
  ToString()
  
  
  Declaration
  
    public override string ToString()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  Operators
  
  
    View Source
  
  Equality(UdiRange, UdiRange)
  
  
  Declaration
  
    public static bool operator ==(UdiRange range1, UdiRange range2)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  Inequality(UdiRange, UdiRange)
  
  
  Declaration
  
    public static bool operator !=(UdiRange range1, UdiRange range2)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  |