ITestApiNewT(String) Method
|
Generate value primitive data types and can be set to the cache
Examplevar testApi = ctx.Use<ITestApi>();
testApi.New<int>("TestSampleData");
Namespace: Casewhere.Runtime.DSL.ApiAssembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
SyntaxT New<T>(
string registerName = null
)
Parameters
- registerName String (Optional)
- Name used to register value will be cached.
Type Parameters
- T
- Type of the cached object.
Return Value
TReturn a generic data object.
See Also