Class TestTriggerData<T>

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

A trigger value together with binding metadata applied to a test context.

public sealed class TestTriggerData<T>

Type Parameters

T

The function parameter type.

Inheritance
TestTriggerData<T>
Inherited Members

Properties

BindingData

Gets trigger metadata exposed through BindingContext.

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

Property Value

IReadOnlyDictionary<string, object>

The retained read-only metadata dictionary. Values are not cloned or redacted and may contain sensitive data.

BindingName

Gets the trigger binding name.

public string BindingName { get; }

Property Value

string

The non-empty input binding name.

BindingType

Gets the worker binding type.

public string BindingType { get; }

Property Value

string

The non-empty worker binding type added to the function definition.

Value

Gets the value passed to the function trigger parameter.

public T Value { get; }

Property Value

T

The trigger value retained by this instance without cloning.

Methods

ApplyTo(TestFunctionContext)

Captures this input and its metadata in a function context.

public TestFunctionContext ApplyTo(TestFunctionContext context)

Parameters

context TestFunctionContext

The non-null mutable context to update in place.

Returns

TestFunctionContext

The same context, for chaining, after input metadata and binding data are applied.