Class TestFunctionInvocationResult<T>
- Namespace
- XBullet.EasyTesting.AzureFunctions
- Assembly
- XBullet.EasyTesting.AzureFunctions.dll
Result of executing a value-returning function through the test middleware pipeline.
public sealed class TestFunctionInvocationResult<T> : TestFunctionInvocationResult
Type Parameters
TThe function return type.
- Inheritance
-
TestFunctionInvocationResult<T>
- Inherited Members
Properties
Result
Gets the value returned by the function, or the default value if middleware short-circuited.
public T? Result { get; }
Property Value
- T
The function's return value, or the default
Tvalue when middleware did not execute it. Consult FunctionExecuted to distinguish short-circuiting from a function that returned its type's default value.