예제 #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)
 {
 }