Show / Hide Table of Contents

Class DTComplexSchemaInfo

Class DTComplexSchemaInfo corresponds to an element of type ComplexSchema in a DTDL model.

Inheritance
object
DTEntityInfo
DTSchemaInfo
DTComplexSchemaInfo
DTArrayInfo
DTEnumInfo
DTMapInfo
DTObjectInfo
Implements
IEquatable<DTEntityInfo>
IEquatable<DTSchemaInfo>
IEquatable<DTComplexSchemaInfo>
Inherited Members
DTEntityInfo.EntityKind
DTEntityInfo.ChildOf
DTEntityInfo.DefinedIn
DTEntityInfo.Id
DTEntityInfo.UndefinedProperties
DTEntityInfo.LanguageMajorVersion
DTEntityInfo.UndefinedTypes
DTEntityInfo.Description
DTEntityInfo.DisplayName
DTEntityInfo.Comment
DTEntityInfo.ValidateInstance(JsonElement)
DTEntityInfo.ValidateInstance(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DTDLParser.Models
Assembly: DTDLParser.dll
Syntax
public abstract class DTComplexSchemaInfo : DTSchemaInfo, IEquatable<DTEntityInfo>, IEquatable<DTSchemaInfo>, IEquatable<DTComplexSchemaInfo>

Properties

| Edit this page View Source

ClassId

Get the DTMI that identifies type ComplexSchema in the version of DTDL used to define this element.

Declaration
public override Dtmi ClassId { get; }
Property Value
Type Description
Dtmi

The DTMI for the DTDL type ComplexSchema.

Overrides
DTSchemaInfo.ClassId
| Edit this page View Source

SupplementalProperties

Gets the supplemantal properties of the DTDL element that corresponds to this object.

Declaration
public override IDictionary<string, object> SupplementalProperties { get; }
Property Value
Type Description
IDictionary<string, object>

A dictionary that maps each string-valued property name to an object that holds the value of the property with the given name.

Overrides
DTSchemaInfo.SupplementalProperties
Remarks

If the property is a literal in the DTDL model, the object holds a literal value. If the property is another DTDL element in the model, the object is the C# object that corresponds to this element.

| Edit this page View Source

SupplementalTypes

Gets a collection of identifiers, each of which is a Dtmi that indicates a supplemental type that applies to the DTDL element that corresponds to this object.

Declaration
public override IReadOnlyCollection<Dtmi> SupplementalTypes { get; }
Property Value
Type Description
IReadOnlyCollection<Dtmi>

A collection of DTMIs indicating the supplemental types that apply to the DTDL element.

Overrides
DTSchemaInfo.SupplementalTypes

Methods

| Edit this page View Source

DeepEquals(DTComplexSchemaInfo)

Compares to another DTComplexSchemaInfo object, recursing through the entire subtree of object properties.

Declaration
public virtual bool DeepEquals(DTComplexSchemaInfo other)
Parameters
Type Name Description
DTComplexSchemaInfo other

The other DTComplexSchemaInfo object to compare to.

Returns
Type Description
bool

True if equal.

| Edit this page View Source

DeepEquals(DTEntityInfo)

Compares to another DTEntityInfo object, recursing through the entire subtree of object properties.

Declaration
public override bool DeepEquals(DTEntityInfo other)
Parameters
Type Name Description
DTEntityInfo other

The other DTEntityInfo object to compare to.

Returns
Type Description
bool

True if equal.

Overrides
DTSchemaInfo.DeepEquals(DTEntityInfo)
| Edit this page View Source

DeepEquals(DTSchemaInfo)

Compares to another DTSchemaInfo object, recursing through the entire subtree of object properties.

Declaration
public override bool DeepEquals(DTSchemaInfo other)
Parameters
Type Name Description
DTSchemaInfo other

The other DTSchemaInfo object to compare to.

Returns
Type Description
bool

True if equal.

Overrides
DTSchemaInfo.DeepEquals(DTSchemaInfo)
| Edit this page View Source

Equals(DTComplexSchemaInfo)

Compares to another DTComplexSchemaInfo object.

Declaration
public virtual bool Equals(DTComplexSchemaInfo other)
Parameters
Type Name Description
DTComplexSchemaInfo other

The other DTComplexSchemaInfo object to compare to.

Returns
Type Description
bool

True if equal.

| Edit this page View Source

Equals(DTEntityInfo)

Compares to another DTEntityInfo object.

Declaration
public override bool Equals(DTEntityInfo other)
Parameters
Type Name Description
DTEntityInfo other

The other DTEntityInfo object to compare to.

Returns
Type Description
bool

True if equal.

Overrides
DTSchemaInfo.Equals(DTEntityInfo)
| Edit this page View Source

Equals(DTSchemaInfo)

Compares to another DTSchemaInfo object.

Declaration
public override bool Equals(DTSchemaInfo other)
Parameters
Type Name Description
DTSchemaInfo other

The other DTSchemaInfo object to compare to.

Returns
Type Description
bool

True if equal.

Overrides
DTSchemaInfo.Equals(DTSchemaInfo)

Operators

| Edit this page View Source

operator ==(DTComplexSchemaInfo, DTComplexSchemaInfo)

Determines whether two DTComplexSchemaInfo objects are equal.

Declaration
public static bool operator ==(DTComplexSchemaInfo x, DTComplexSchemaInfo y)
Parameters
Type Name Description
DTComplexSchemaInfo x

One DTComplexSchemaInfo object to compare.

DTComplexSchemaInfo y

Another DTComplexSchemaInfo object to compare to the first.

Returns
Type Description
bool

True if equal.

| Edit this page View Source

operator !=(DTComplexSchemaInfo, DTComplexSchemaInfo)

Determines whether two DTComplexSchemaInfo objects are not equal.

Declaration
public static bool operator !=(DTComplexSchemaInfo x, DTComplexSchemaInfo y)
Parameters
Type Name Description
DTComplexSchemaInfo x

One DTComplexSchemaInfo object to compare.

DTComplexSchemaInfo y

Another DTComplexSchemaInfo object to compare to the first.

Returns
Type Description
bool

True if not equal.

Implements

IEquatable<T>
IEquatable<T>
IEquatable<T>
  • Edit this page
  • View Source
In this article
  • Properties
    • ClassId
    • SupplementalProperties
    • SupplementalTypes
  • Methods
    • DeepEquals(DTComplexSchemaInfo)
    • DeepEquals(DTEntityInfo)
    • DeepEquals(DTSchemaInfo)
    • Equals(DTComplexSchemaInfo)
    • Equals(DTEntityInfo)
    • Equals(DTSchemaInfo)
  • Operators
    • operator ==(DTComplexSchemaInfo, DTComplexSchemaInfo)
    • operator !=(DTComplexSchemaInfo, DTComplexSchemaInfo)
  • Implements
Back to top Generated by DocFX