Zum Hauptinhalt springen

RtEntityId

Namespace: Meshmakers.Octo.ConstructionKit.Contracts

Represents a unique identifier of a runtime model entity and its construction kit type.

public struct RtEntityId

Inheritance Object → ValueType → RtEntityId
Implements IComparable<RtEntityId>, IEquatable<RtEntityId>, IConvertible

Properties​

CkTypeId​

The construction kit type id.

public RtCkId<CkTypeId> CkTypeId { get; }

Property Value​

RtCkId<CkTypeId>

RtId​

The runtime id.

public OctoObjectId RtId { get; }

Property Value​

OctoObjectId

Constructors​

RtEntityId(String)​

Creates a new RtEntityId from the given rtEntityId.

public RtEntityId(string rtEntityId)

Parameters​

rtEntityId String

RtEntityId(RtCkId<CkTypeId>, OctoObjectId)​

Creates a new instance of RtEntityId.

public RtEntityId(RtCkId<CkTypeId> ckTypeId, OctoObjectId rtId)

Parameters​

ckTypeId RtCkId<CkTypeId>

rtId OctoObjectId

RtEntityId(String, CkTypeId, OctoObjectId)​

Creates a new instance of RtEntityId.

public RtEntityId(string ckModelIdName, CkTypeId ckTypeId, OctoObjectId rtId)

Parameters​

ckModelIdName String

ckTypeId CkTypeId

rtId OctoObjectId

Methods​

CompareTo(RtEntityId)​

public int CompareTo(RtEntityId other)

Parameters​

other RtEntityId

Returns​

Int32

Equals(Object)​

Compares this ObjectId to another object.

public bool Equals(object obj)

Parameters​

obj Object
The other object.

Returns​

Boolean
True if the other object is an ObjectId and equal to this one.

Equals(RtEntityId)​

public bool Equals(RtEntityId other)

Parameters​

other RtEntityId

Returns​

Boolean

GetHashCode()​

Gets the hash code.

public int GetHashCode()

Returns​

Int32
The hash code.

ToString()​

public string ToString()

Returns​

String

GetTypeCode()​

public TypeCode GetTypeCode()

Returns​

TypeCode

ToBoolean(IFormatProvider)​

public bool ToBoolean(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

Boolean

ToByte(IFormatProvider)​

public byte ToByte(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

Byte

ToChar(IFormatProvider)​

public char ToChar(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

Char

ToDateTime(IFormatProvider)​

public DateTime ToDateTime(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

DateTime

ToDecimal(IFormatProvider)​

public decimal ToDecimal(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

Decimal

ToDouble(IFormatProvider)​

public double ToDouble(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

Double

ToInt16(IFormatProvider)​

public short ToInt16(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

Int16

ToInt32(IFormatProvider)​

public int ToInt32(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

Int32

ToInt64(IFormatProvider)​

public long ToInt64(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

Int64

ToSByte(IFormatProvider)​

public sbyte ToSByte(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

SByte

ToSingle(IFormatProvider)​

public float ToSingle(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

Single

ToString(IFormatProvider)​

public string ToString(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

String

ToType(Type, IFormatProvider)​

public object ToType(Type conversionType, IFormatProvider provider)

Parameters​

conversionType Type

provider IFormatProvider

Returns​

Object

ToUInt16(IFormatProvider)​

public ushort ToUInt16(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

UInt16

ToUInt32(IFormatProvider)​

public uint ToUInt32(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

UInt32

ToUInt64(IFormatProvider)​

public ulong ToUInt64(IFormatProvider provider)

Parameters​

provider IFormatProvider

Returns​

UInt64