Click or drag to resize

ITestApiNewT Method (String)

Generate value primitive data types and can be set to the cache
Examples
var testApi = ctx.Use<ITestApi>();
testApi.New<int>("TestSampleData");

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
T New<T>(
	string registerName = null
)

Parameters

registerName (Optional)
Type: SystemString
Name used to register value will be cached.

Type Parameters

T
Type of the cached object.

Return Value

Type: T
Return a generic data object.
See Also