![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Contains the state of a content conversion process. More...
Public Member Functions | |
ConversionState (string FromContentType, Stream From, string FromFileName, string LocalResourceName, string URL, string ToContentType, Stream To, Variables Session, params string[] PossibleContentTypes) | |
Contains the state of a content conversion process. More... | |
Properties | |
string | FromContentType [get] |
Content type of the content to convert from. More... | |
Stream | From [get] |
Stream pointing to binary representation of content. More... | |
string | FromFileName [get, set] |
If the content is coming from a file, this parameter contains the name of that file. Otherwise, the parameter is the empty string. More... | |
string | LocalResourceName [get, set] |
Local resource name of file, if accessed from a web server. More... | |
string | URL [get] |
URL of resource, if accessed from a web server. More... | |
string | ToContentType [get, set] |
Content type of the content to convert to. This value might be changed, in case the converter finds a better option. May get updated during the conversion process. More... | |
Stream | To [get] |
Stream pointing to where binary representation of content is to be sent. More... | |
Variables | Session [get] |
Session states. More... | |
string[] | PossibleContentTypes [get] |
Possible content types the converter is allowed to convert to. Can be null if there are no alternatives. More... | |
Contains the state of a content conversion process.
Definition at line 9 of file ConversionState.cs.
Waher.Content.ConversionState.ConversionState | ( | string | FromContentType, |
Stream | From, | ||
string | FromFileName, | ||
string | LocalResourceName, | ||
string | URL, | ||
string | ToContentType, | ||
Stream | To, | ||
Variables | Session, | ||
params string[] | PossibleContentTypes | ||
) |
Contains the state of a content conversion process.
FromContentType | Content type of the content to convert from. |
From | Stream pointing to binary representation of content. |
FromFileName | If the content is coming from a file, this parameter contains the name of that file. Otherwise, the parameter is the empty string. |
LocalResourceName | Local resource name of file, if accessed from a web server. |
URL | URL of resource, if accessed from a web server. |
ToContentType | Content type of the content to convert to. This value might be changed, in case the converter finds a better option. |
To | Stream pointing to where binary representation of content is to be sent. |
Session | Session states. |
PossibleContentTypes | Possible content types the converter is allowed to convert to. Can be null if there are no alternatives. |
Definition at line 26 of file ConversionState.cs.
|
get |
Stream pointing to binary representation of content.
Definition at line 48 of file ConversionState.cs.
|
get |
Content type of the content to convert from.
Definition at line 43 of file ConversionState.cs.
|
getset |
If the content is coming from a file, this parameter contains the name of that file. Otherwise, the parameter is the empty string.
Definition at line 54 of file ConversionState.cs.
|
getset |
Local resource name of file, if accessed from a web server.
Definition at line 59 of file ConversionState.cs.
|
get |
Possible content types the converter is allowed to convert to. Can be null if there are no alternatives.
Definition at line 86 of file ConversionState.cs.
|
get |
Session states.
Definition at line 80 of file ConversionState.cs.
|
get |
Stream pointing to where binary representation of content is to be sent.
Definition at line 75 of file ConversionState.cs.
|
getset |
Content type of the content to convert to. This value might be changed, in case the converter finds a better option. May get updated during the conversion process.
Definition at line 70 of file ConversionState.cs.
|
get |
URL of resource, if accessed from a web server.
Definition at line 64 of file ConversionState.cs.