ITest ApiNewT(String) Method
Generate value primitive data types and can be set to the cache
Example
C#
var testApi = ctx.Use<ITestApi>();
testApi.New<int>("TestSampleData");Definition
Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
Return a generic data object.
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
C#
T 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.