CkAssociationRoleId
Namespace: Meshmakers.Octo.ConstructionKit.Contracts
Represents a versioned construction kit association id
public record CkAssociationRoleId : IComparable<CkAssociationRoleId>, ICkElementId, IConvertible, IEquatable<CkAssociationRoleId>
Inheritance Object → CkAssociationRoleId
Implements IComparable<CkAssociationRoleId>, ICkElementId, IConvertible, IEquatable<CkAssociationRoleId>
Properties
RoleId
Defines the name of the association, e.g. "ParentChild"
public string RoleId { get; }
Property Value
Version
Returns the version of the association role, e.g. "1.0.0"
public uint Version { get; }
Property Value
FullName
Returns the full name of the association role, e.g. "ParentChild-1"
public string FullName { get; }
Property Value
SemanticVersionedFullName
public string SemanticVersionedFullName { get; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Constructors
CkAssociationRoleId(String)
Creates a new CkAssociationRoleId from the given roleId.
public CkAssociationRoleId(string roleId)
Parameters
roleId String
Exceptions
CkAssociationRoleId(String, UInt32)
Creates a new CkAssociationRoleId from the given roleId and
associationRoleVersion.
public CkAssociationRoleId(string roleId, uint associationRoleVersion)
Parameters
roleId String
associationRoleVersion UInt32
Methods
CompareTo(CkAssociationRoleId)
public int CompareTo(CkAssociationRoleId other)
Parameters
other CkAssociationRoleId
Returns
Equals(CkAssociationRoleId)
public bool Equals(CkAssociationRoleId other)
Parameters
other CkAssociationRoleId
Returns
GetTypeCode()
public TypeCode GetTypeCode()
Returns
ToBoolean(IFormatProvider)
public bool ToBoolean(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToByte(IFormatProvider)
public byte ToByte(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToChar(IFormatProvider)
public char ToChar(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToDateTime(IFormatProvider)
public DateTime ToDateTime(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToDecimal(IFormatProvider)
public decimal ToDecimal(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToDouble(IFormatProvider)
public double ToDouble(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToInt16(IFormatProvider)
public short ToInt16(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToInt32(IFormatProvider)
public int ToInt32(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToInt64(IFormatProvider)
public long ToInt64(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToSByte(IFormatProvider)
public sbyte ToSByte(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToSingle(IFormatProvider)
public float ToSingle(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToString(IFormatProvider)
public string ToString(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToType(Type, IFormatProvider)
public object ToType(Type conversionType, IFormatProvider provider)
Parameters
conversionType Type
provider IFormatProvider
Returns
ToUInt16(IFormatProvider)
public ushort ToUInt16(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToUInt32(IFormatProvider)
public uint ToUInt32(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToUInt64(IFormatProvider)
public ulong ToUInt64(IFormatProvider provider)
Parameters
provider IFormatProvider
Returns
ToString()
Returns a string representation of the value.
public string ToString()
Returns
String
A string representation of the value.
GetHashCode()
public int GetHashCode()