Show / Hide Table of Contents

Class OpenDIDocument

Open DI representation of a WMModelBase.

Inheritance
object
OpenDIBase
OpenDIAsset
OpenDIDocument
Inherited Members
OpenDIAsset.DIDirectory
OpenDIAsset.DIDataSource
OpenDIAsset.DIDataReader
OpenDIAsset.DIDataWriter
OpenDIAsset.parent
OpenDIAsset.fullPathName
OpenDIAsset.ownerType
OpenDIAsset.ownerID
OpenDIAsset.ToDTO<T>()
OpenDIAsset.Create(WMAssetBase)
OpenDIAsset.GetOwnerID()
OpenDIAsset.GetOwnerType()
OpenDIBase.openDIVersion
OpenDIBase.FQNSeparator
OpenDIBase.id
OpenDIBase.name
OpenDIBase.summary
OpenDIBase.documentation
OpenDIBase.documentationMIMEType
OpenDIBase.properties
OpenDIBase.GetWMType(string)
OpenDIBase.GetOpenDIType(Type)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE