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.Version
OpenDIAsset.VersionName
OpenDIAsset.Status
OpenDIAsset.imageURL
OpenDIAsset.ToDTOPartial<T>()
OpenDIAsset.ToDTODefault<T>()
OpenDIAsset.Create(WMAssetBase)
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

ToDTODefault()

Create a new IWMAssetBaseDTO object that contains the properties of this OpenDIAsset. Throws an exception if null values without default are encountered.

Declaration
public WMDocumentDTO ToDTODefault()
Returns
Type Description
WMDocumentDTO

A IWMAssetBaseDTO object that contains the properties (or default values) of this OpenDIAsset

ToDTOPartial()

Create a new IWMAssetBaseDTO object that contains only the properties of this OpenDIAsset with no defaults.

Declaration
public WMDocumentDTO ToDTOPartial()
Returns
Type Description
WMDocumentDTO

A IWMAssetBaseDTO object that contains the properties of this OpenDIAsset

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