|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| LinkedResource (string fileName) | |
| LinkedResource (string fileName, string? mediaType) | |
| LinkedResource (string fileName, ContentType? contentType) | |
| LinkedResource (Stream contentStream) | |
| LinkedResource (Stream contentStream, string? mediaType) | |
| LinkedResource (Stream contentStream, ContentType? contentType) | |
| void | Dispose () |
Static Public Member Functions | |
| static LinkedResource | CreateLinkedResourceFromString (string content) |
| static LinkedResource | CreateLinkedResourceFromString (string content, Encoding? contentEncoding, string? mediaType) |
| static LinkedResource | CreateLinkedResourceFromString (string content, ContentType? contentType) |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Package Functions | |
| LinkedResource () | |
| 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 | |
| Uri? | ContentLink [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 | |
| readonly MimePart | _part = new MimePart() |
Static Private Attributes | |
| static readonly char[] | s_contentCIDInvalidChars = new char[2] { '<', '>' } |
Definition at line 7 of file LinkedResource.cs.