View Source
  Class NameValueCollectionExtensions
  
  
  
  
    Inheritance
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public static class NameValueCollectionExtensions
   
  Methods
  
  
    View Source
  
  AsEnumerable(NameValueCollection)
  
  
  Declaration
  
    public static IEnumerable<KeyValuePair<string, string>> AsEnumerable(this NameValueCollection nvc)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Collections.Specialized.NameValueCollection | nvc |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | IEnumerable<KeyValuePair<System.String, System.String>> |  | 
    
  
  
    View Source
  
  ContainsKey(NameValueCollection, String)
  
  
  Declaration
  
    public static bool ContainsKey(this NameValueCollection collection, string key)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Collections.Specialized.NameValueCollection | collection |  | 
      
        | System.String | key |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  GetValue<T>(NameValueCollection, String, T)
  
  
  Declaration
  
    public static T GetValue<T>(this NameValueCollection collection, string key, T defaultIfNotFound)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Collections.Specialized.NameValueCollection | collection |  | 
      
        | System.String | key |  | 
      
        | T | defaultIfNotFound |  | 
    
  
  Returns
  
  Type Parameters