Click or drag to resize

ITestApiGet Method (String)

Get a dummy data object from the cache. This is useful for mocking data while writing a workflow unit test.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
DynamicDataObject Get(
	string registerName
)

Parameters

registerName
Type: SystemString
Name used to register value will be cached

Return Value

Type: DynamicDataObject
Return the data object.
Examples
var testApi = ctx.Use<ITestApi>();
int value = testApi.Get("TestSampleData");
See Also