Class RecordedDurableClientOperation

Namespace
XBullet.EasyTesting.AzureFunctions
Assembly
XBullet.EasyTesting.AzureFunctions.dll

A client call recorded before handler dispatch.

public sealed record RecordedDurableClientOperation : IEquatable<RecordedDurableClientOperation>
Inheritance
RecordedDurableClientOperation
Implements
Inherited Members
Extension Methods

Constructors

RecordedDurableClientOperation(long, DurableClientOperation, string?, IReadOnlyDictionary<string, object?>)

A client call recorded before handler dispatch.

public RecordedDurableClientOperation(long Sequence, DurableClientOperation Operation, string? InstanceId, IReadOnlyDictionary<string, object?> Arguments)

Parameters

Sequence long

The one-based invocation order since the last reset, not completion order.

Operation DurableClientOperation

The requested operation.

InstanceId string

The target instance ID; null for query and bulk purge.

Arguments IReadOnlyDictionary<string, object>

SDK parameter names excluding cancellation, with original argument references.

Properties

Arguments

SDK parameter names excluding cancellation, with original argument references.

public IReadOnlyDictionary<string, object?> Arguments { get; init; }

Property Value

IReadOnlyDictionary<string, object>

InstanceId

The target instance ID; null for query and bulk purge.

public string? InstanceId { get; init; }

Property Value

string

Operation

The requested operation.

public DurableClientOperation Operation { get; init; }

Property Value

DurableClientOperation

Sequence

The one-based invocation order since the last reset, not completion order.

public long Sequence { get; init; }

Property Value

long

Methods

GetArgument<T>(string)

Reads an argument without conversion.

public T? GetArgument<T>(string name)

Parameters

name string

The case-sensitive SDK parameter name.

Returns

T

The original typed argument, or default when the argument is null.

Type Parameters

T

The expected assignable type.