Show / Hide Table of Contents

Class DTCommandResponseInfo

Class DTCommandResponseInfo corresponds to an element of type CommandResponse in a DTDL model.

Inheritance
object
DTEntityInfo
DTNamedEntityInfo
DTSchemaFieldInfo
DTCommandPayloadInfo
DTCommandResponseInfo
Implements
IEquatable<DTEntityInfo>
IEquatable<DTNamedEntityInfo>
IEquatable<DTSchemaFieldInfo>
IEquatable<DTCommandPayloadInfo>
IEquatable<DTCommandResponseInfo>
Inherited Members
DTCommandPayloadInfo.Nullable
DTSchemaFieldInfo.Schema
DTNamedEntityInfo.Name
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 class DTCommandResponseInfo : DTCommandPayloadInfo, IEquatable<DTEntityInfo>, IEquatable<DTNamedEntityInfo>, IEquatable<DTSchemaFieldInfo>, IEquatable<DTCommandPayloadInfo>, IEquatable<DTCommandResponseInfo>

Properties

| Edit this page View Source

ClassId

Get the DTMI that identifies type CommandResponse 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 CommandResponse.

Overrides
DTCommandPayloadInfo.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
DTCommandPayloadInfo.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
DTCommandPayloadInfo.SupplementalTypes

Methods

| Edit this page View Source

DeepEquals(DTCommandPayloadInfo)

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

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

The other DTCommandPayloadInfo object to compare to.

Returns
Type Description
bool

True if equal.

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

DeepEquals(DTCommandResponseInfo)

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

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

The other DTCommandResponseInfo 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
DTCommandPayloadInfo.DeepEquals(DTEntityInfo)
| Edit this page View Source

DeepEquals(DTNamedEntityInfo)

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

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

The other DTNamedEntityInfo object to compare to.

Returns
Type Description
bool

True if equal.

Overrides
DTCommandPayloadInfo.DeepEquals(DTNamedEntityInfo)
| Edit this page View Source

DeepEquals(DTSchemaFieldInfo)

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

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

The other DTSchemaFieldInfo object to compare to.

Returns
Type Description
bool

True if equal.

Overrides
DTCommandPayloadInfo.DeepEquals(DTSchemaFieldInfo)
| Edit this page View Source

Equals(DTCommandPayloadInfo)

Compares to another DTCommandPayloadInfo object.

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

The other DTCommandPayloadInfo object to compare to.

Returns
Type Description
bool

True if equal.

Overrides
DTCommandPayloadInfo.Equals(DTCommandPayloadInfo)
| Edit this page View Source

Equals(DTCommandResponseInfo)

Compares to another DTCommandResponseInfo object.

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

The other DTCommandResponseInfo 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
DTCommandPayloadInfo.Equals(DTEntityInfo)
| Edit this page View Source

Equals(DTNamedEntityInfo)

Compares to another DTNamedEntityInfo object.

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

The other DTNamedEntityInfo object to compare to.

Returns
Type Description
bool

True if equal.

Overrides
DTCommandPayloadInfo.Equals(DTNamedEntityInfo)
| Edit this page View Source

Equals(DTSchemaFieldInfo)

Compares to another DTSchemaFieldInfo object.

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

The other DTSchemaFieldInfo object to compare to.

Returns
Type Description
bool

True if equal.

Overrides
DTCommandPayloadInfo.Equals(DTSchemaFieldInfo)

Operators

| Edit this page View Source

operator ==(DTCommandResponseInfo, DTCommandResponseInfo)

Determines whether two DTCommandResponseInfo objects are equal.

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

One DTCommandResponseInfo object to compare.

DTCommandResponseInfo y

Another DTCommandResponseInfo object to compare to the first.

Returns
Type Description
bool

True if equal.

| Edit this page View Source

operator !=(DTCommandResponseInfo, DTCommandResponseInfo)

Determines whether two DTCommandResponseInfo objects are not equal.

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

One DTCommandResponseInfo object to compare.

DTCommandResponseInfo y

Another DTCommandResponseInfo object to compare to the first.

Returns
Type Description
bool

True if not equal.

Implements

IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX