Class OpenDIDocument
Open DI representation of a WMModelBase.
Inherited Members
Namespace: Quantellia.WMServer.OpenDI
Assembly: WMServer.dll
Syntax
public class OpenDIDocument : OpenDIAsset
Constructors
OpenDIDocument()
Default constructor
Declaration
public OpenDIDocument()
OpenDIDocument(WMDocument)
Constructor that initializes a new instance with the data from a WMModelBase object.
Declaration
public OpenDIDocument(WMDocument asset)
Parameters
Type | Name | Description |
---|---|---|
WMDocument | asset | The asset with which to initialize this OpenDIModel |
Properties
DocumentData
A Base-64 encoded string representing the stored document
Declaration
public string DocumentData { get; set; }
Property Value
Type | Description |
---|---|
string |
DocumentEditedText
Stores the text of a document in an editable format. Is not guaranteed to be correct, or exist.
Declaration
public string DocumentEditedText { get; set; }
Property Value
Type | Description |
---|---|
string |
DocumentMIMEType
The type of the stored data.
Declaration
public string DocumentMIMEType { get; set; }
Property Value
Type | Description |
---|---|
string |
DocumentName
The name of the document
Declaration
public string DocumentName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
ToDTO()
Create a new WMDocumentDTO object that contains the properties of this OpenDIDocument
Declaration
public WMDocumentDTO ToDTO()
Returns
Type | Description |
---|---|
WMDocumentDTO | A WMDocumentDTO object that contains the properties of this OpenDIDocument |