Пример #1
0
 public Content(MIMEType type, KeyValuePair <string, string> parameter, byte[] contentBytes, Encoding encoding)
 {
     this.Type          = type;
     this.MIMEParameter = parameter;
     this.Bytes         = contentBytes;
     this.Encoding      = encoding;
 }
Пример #2
0
 public Content(MIMEType type, byte[] contentBytes, Encoding encoding) : this(type, new KeyValuePair <string, string>(), contentBytes, encoding)
 {
 }