Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
void | Dispose () |
Protected Member Functions | |
AttachmentBase (string fileName) | |
AttachmentBase (string fileName, string? mediaType) | |
AttachmentBase (string fileName, ContentType? contentType) | |
AttachmentBase (Stream contentStream) | |
AttachmentBase (Stream contentStream, string? mediaType) | |
AttachmentBase (Stream contentStream, ContentType? contentType) | |
virtual void | Dispose (bool disposing) |
Package Functions | |
AttachmentBase () | |
AttachmentBase (Stream contentStream, string name, string mediaType) | |
void | SetContentFromFile (string fileName, ContentType contentType) |
void | SetContentFromFile (string fileName, string mediaType) |
void | SetContentFromString (string content, ContentType contentType) |
void | SetContentFromString (string content, Encoding encoding, string mediaType) |
virtual void | PrepareForSending (bool allowUnicode) |
Package Attributes | |
bool | disposed |
Properties | |
Stream | ContentStream [get] |
string | ContentId [get, set] |
ContentType | ContentType [get, set] |
TransferEncoding | TransferEncoding [get, set] |
Uri? | ContentLocation [get, set] |
MimePart | MimePart [get] |
Private Attributes | |
readonly MimePart | _part = new MimePart() |
Static Private Attributes | |
static readonly char[] | s_contentCIDInvalidChars = new char[2] { '<', '>' } |
Definition at line 8 of file AttachmentBase.cs.