isRestricted() private static method

private static isRestricted ( string name, bool response ) : bool
name string
response bool
return bool
Ejemplo n.º 1
0
 private void checkRestricted(string name)
 {
     if ((this._internallyUsed ? false : WebHeaderCollection.isRestricted(name, true)))
     {
         throw new ArgumentException("This header must be modified with the appropiate property.");
     }
 }
Ejemplo n.º 2
0
 public static bool IsRestricted(string headerName, bool response)
 {
     return(WebHeaderCollection.isRestricted(WebHeaderCollection.checkName(headerName), response));
 }