Contains the state of a content conversion process.
string ToContentType
Content type of the content to convert to. This value might be changed, in case the converter finds a...
string[] PossibleContentTypes
Possible content types the converter is allowed to convert to. Can be null if there are no alternativ...
Exception Error
Error response, in case conversion should return an error.
bool HasError
If an error should be returned.
string LocalResourceName
Local resource name of file, if accessed from a web server.
string FromContentType
Content type of the content to convert from.
Stream To
Stream pointing to where binary representation of content is to be sent.
ConversionState(string FromContentType, Stream From, string FromFileName, string LocalResourceName, string URL, string ToContentType, Stream To, Variables Session, ICodecProgress Progress, IResourceMap ResourceMap, TryGetLocalResourceFileName TryGetLocalResourceFileName, params string[] PossibleContentTypes)
Contains the state of a content conversion process.
string FromFileName
If the content is coming from a file, this parameter contains the name of that file....
ICodecProgress Progress
Optional interface for reporting progress during conversion.
bool TryGetLocalResourceFileName(string Resource, string Host, out string FileName)
Tries to get a file name for a resource, if local.
string URL
URL of resource, if accessed from a web server.
Stream From
Stream pointing to binary representation of content.
static void Exception(Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an exception. Event type will be determined by the severity of the exception.
Interface for reporting progress about an encoding or decoding.
Basic interface for Resource maps.
delegate bool TryGetLocalResourceFileName(string Resource, string Host, out string FileName)
Delegate to callback functions that resolve local file names for local resources.