예제 #1
0
 public ProductInfoHeaderValue(string comment)
 {
     HeaderUtilities.CheckValidComment(comment, "comment");
     _comment = comment;
 }
예제 #2
0
 private static void CheckNameValueFormat(string name, string value)
 {
     HeaderUtilities.CheckValidToken(name, "name");
     CheckValueFormat(value);
 }
예제 #3
0
 public AuthenticationHeaderValue(string scheme, string parameter)
 {
     HeaderUtilities.CheckValidToken(scheme, "scheme");
     _scheme    = scheme;
     _parameter = parameter;
 }
예제 #4
0
 public TransferCodingHeaderValue(string value)
 {
     HeaderUtilities.CheckValidToken(value, "value");
     _value = value;
 }