Skip to main content

ChangedObject

Namespace: IotaSdk

Input/output state of an object that was changed during execution

BCS

The BCS serialized form for this type is defined by the following ABNF:

changed-object = object-id object-in object-out id-operation
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​

ObjectId

InputState​

State of the object in the store prior to this transaction.

public ObjectIn InputState { get; init; }

Property Value​

ObjectIn

OutputState​

State of the object in the store after this transaction.

public ObjectOut OutputState { get; init; }

Property Value​

ObjectOut

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​

IdOperation

Constructors​

ChangedObject(ObjectId, ObjectIn, ObjectOut, IdOperation)​

Input/output state of an object that was changed during execution

BCS

The BCS serialized form for this type is defined by the following ABNF:

changed-object = object-id object-in object-out id-operation
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()