Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetContent() [2/3]

void System.Net.Mime.MimePart.SetContent ( Stream stream,
ContentType contentType )
inlinepackage

Definition at line 154 of file MimePart.cs.

155 {
156 if (stream == null)
157 {
158 throw new ArgumentNullException("stream");
159 }
160 _contentType = contentType;
162 }
void SetContent(Stream stream)
Definition MimePart.cs:119

References System.Net.Mime.MimeBasePart._contentType, System.Net.Mime.MimePart.SetContent(), and System.stream.