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