IDslCompilerContextSet Method |
Namespace: Casewhere.Runtime.DSL.CompilerContext
void Set( string key, Object value )
// Assuming a workflow has 2 activities like below: // Activity 1: ctx.Set("Confirmed", true); ctx.Set("ConfirmedOption", 5); // Activity 2: if (ctx.Get<bool>("Confirmed")) DoSomething(ctx.Get<int>("ConfirmedOption"));