ChangedObject
Namespace: IotaSdk
Input/output state of an object that was changed during execution
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public record class ChangedObject : System.IDisposable, System.IEquatable`1[[IotaSdk.ChangedObject, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → ChangedObject
Implements IDisposable, IEquatable<ChangedObject>
Attributes NullableContextAttribute, NullableAttribute
Properties
ObjectId
Id of the object
public ObjectId ObjectId { get; init; }
Property Value
InputState
State of the object in the store prior to this transaction.
public ObjectIn InputState { get; init; }
Property Value
OutputState
State of the object in the store after this transaction.
public ObjectOut OutputState { get; init; }
Property Value
IdOperation
Whether this object ID is created or deleted in this transaction. This information isn't required by the protocol but is useful for providing more detailed semantics on object changes.
public IdOperation IdOperation { get; init; }
Property Value
Constructors
ChangedObject(ObjectId, ObjectIn, ObjectOut, IdOperation)
Input/output state of an object that was changed during execution
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public ChangedObject(ObjectId ObjectId, ObjectIn InputState, ObjectOut OutputState, IdOperation IdOperation)
Parameters
ObjectId ObjectId
Id of the object
InputState ObjectIn
State of the object in the store prior to this transaction.
OutputState ObjectOut
State of the object in the store after this transaction.
IdOperation IdOperation
Whether this object ID is created or deleted in this transaction. This information isn't
required by the protocol but is useful for providing more detailed semantics on object
changes.
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()