Interface IDocumentConverter
- Namespace
- JobFlow.Core.Documents.Conversion
- Assembly
- JobFlow.Core.dll
Converts a document to its "native" type.
public interface IDocumentConverter
- Extension Methods
Remarks
This will ensure the IDocument is deserialized to its associated data type. For example, if a document is configured in ConfigureFlowDefinitions(JobFlowConfigurationBuilder, Action<FlowDefinitionConfiguration>) to use the type MyDocumentType, then calling Convert(IDocument) will ensure the result is of the type:
Document<MyDocumentType>
Methods
Convert(IDocument)
IDocument Convert(IDocument document)
Parameters
document
IDocument