Show / Hide Table of Contents

Class Ddi2Deserializer

Deserializes DDI 2 XML into a DdiInstance object.

Inheritance
object
Ddi2Deserializer
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi.Serialization
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class Ddi2Deserializer

Constructors

Ddi2Deserializer(string, string, string)

Instantiates a new instance of the DDI 2 deserializer.

Declaration
public Ddi2Deserializer(string fileName, string agencyId, string language)
Parameters
Type Name Description
string fileName
string agencyId
string language

Properties

AlwaysWrapQuestionsInSequences

Indicates whether a wrapper sequence should always be created for QuestionItems, even when no pre- or post-question text is present. If true, the wrapper sequence will always be created; otherwise, the wrapper sequence is only created when pre- or post-question text is present.

Declaration
public bool AlwaysWrapQuestionsInSequences { get; set; }
Property Value
Type Description
bool

AssignUniverseToDescription

Indicates whether the deserializer should assign the DDI-C Universe content to the Description field of the Variable; if false, assigns the content to the Label instead.

Declaration
public bool AssignUniverseToDescription { get; set; }
Property Value
Type Description
bool

Document

The loaded XML Document

Declaration
public XDocument? Document { get; set; }
Property Value
Type Description
XDocument

Methods

Import()

Creates a DDI 3 DDIInstance from a DDI 2 XML Document.

Declaration
public DdiInstance Import()
Returns
Type Description
DdiInstance
In this article
Back to top Generated by DocFX