Convert() static private method

static private Convert ( HttpRequestHeader header ) : string
header HttpRequestHeader
return string
Ejemplo n.º 1
0
 public string this[HttpResponseHeader header]
 {
     get
     {
         return(this.Get(WebHeaderCollection.Convert(header)));
     }
     set
     {
         this.Add(header, value);
     }
 }
Ejemplo n.º 2
0
 public void Set(HttpResponseHeader header, string value)
 {
     this.doWithCheckingState(new Action <string, string>(this.setWithoutCheckingName), WebHeaderCollection.Convert(header), value, true, true);
 }
Ejemplo n.º 3
0
 public void Remove(HttpResponseHeader header)
 {
     this.doWithCheckingState(new Action <string, string>(this.removeWithoutCheckingName), WebHeaderCollection.Convert(header), null, true, false);
 }
Ejemplo n.º 4
0
 public void Add(HttpRequestHeader header, string value)
 {
     this.doWithCheckingState(new Action <string, string>(this.addWithoutCheckingName), WebHeaderCollection.Convert(header), value, false, true);
 }
 public void Remove(HttpRequestHeader header)
 {
     this.DoWithCheckingState(new Action <string, string>(this.RemoveWithoutCheckingName), WebHeaderCollection.Convert(header), null, false, false);
 }
 internal static string Convert(HttpResponseHeader header)
 {
     return(WebHeaderCollection.Convert(header.ToString()));
 }