public ProductInfoHeaderValue(string comment) { HeaderUtilities.CheckValidComment(comment, "comment"); _comment = comment; }
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; }