Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
AlternateView (string fileName) | |
AlternateView (string fileName, string? mediaType) | |
AlternateView (string fileName, ContentType? contentType) | |
AlternateView (Stream contentStream) | |
AlternateView (Stream contentStream, string? mediaType) | |
AlternateView (Stream contentStream, ContentType? contentType) | |
void | Dispose () |
Static Public Member Functions | |
static AlternateView | CreateAlternateViewFromString (string content) |
static AlternateView | CreateAlternateViewFromString (string content, Encoding? contentEncoding, string? mediaType) |
static AlternateView | CreateAlternateViewFromString (string content, ContentType? contentType) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Package Functions | |
AlternateView () | |
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 | |
LinkedResourceCollection | LinkedResources [get] |
Uri? | BaseUri [get, set] |
Stream | ContentStream [get] |
string | ContentId [get, set] |
ContentType | ContentType [get, set] |
TransferEncoding | TransferEncoding [get, set] |
Uri? | ContentLocation [get, set] |
MimePart | MimePart [get] |
Private Attributes | |
LinkedResourceCollection | _linkedResources |
readonly MimePart | _part = new MimePart() |
Static Private Attributes | |
static readonly char[] | s_contentCIDInvalidChars = new char[2] { '<', '>' } |
Definition at line 7 of file AlternateView.cs.