ObjectReference
Namespace: IotaSdk
Reference to an object
Contains sufficient information to uniquely identify a specific object.
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public record class ObjectReference : System.IDisposable, System.IEquatable`1[[IotaSdk.ObjectReference, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → ObjectReference
Implements IDisposable, IEquatable<ObjectReference>
Attributes NullableContextAttribute, NullableAttribute
Properties
ObjectId
public ObjectId ObjectId { get; init; }
Property Value
Version
public Version Version { get; init; }
Property Value
Digest
public ObjectDigest Digest { get; init; }
Property Value
Constructors
ObjectReference(ObjectId, Version, ObjectDigest)
Reference to an object
Contains sufficient information to uniquely identify a specific object.
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public ObjectReference(ObjectId ObjectId, Version Version, ObjectDigest Digest)
Parameters
ObjectId ObjectId
Version Version
Digest ObjectDigest
Methods
Dispose()
public void Dispose()
ToBcs()
Convert this type to BCS encoded bytes.
public Byte[] ToBcs()
Returns
Exceptions
ToDisplayString()
Render this type as human-readable text.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
public string ToDisplayString()
Returns
ToJson()
Convert this type to a JSON encoded string.
public string ToJson()