checkName() private static method

private static checkName ( string name ) : string
name string
return string
Ejemplo n.º 1
0
 public override void Set(string name, string value)
 {
     this.doWithCheckingState(new Action <string, string>(this.setWithoutCheckingName), WebHeaderCollection.checkName(name), value, true);
 }
Ejemplo n.º 2
0
 public static bool IsRestricted(string headerName, bool response)
 {
     return(WebHeaderCollection.isRestricted(WebHeaderCollection.checkName(headerName), response));
 }
Ejemplo n.º 3
0
 public override void Remove(string name)
 {
     this.doWithCheckingState(new Action <string, string>(this.removeWithoutCheckingName), WebHeaderCollection.checkName(name), null, false);
 }
Ejemplo n.º 4
0
 private void @add(string name, string value, bool ignoreRestricted)
 {
     this.doWithCheckingState((ignoreRestricted ? new Action <string, string>(this.addWithoutCheckingNameAndRestricted) : new Action <string, string>(this.addWithoutCheckingName)), WebHeaderCollection.checkName(name), value, true);
 }