public void In(FlowEventArgs e) { SetValue(nameof(ValueName)); SetValue(nameof(Value)); if (ValueName != null) { GlobalScope.SetValue(ValueName, Value); } }
static TemplateContext() { // Global properties GlobalScope.SetValue("empty", NilValue.Empty); GlobalScope.SetValue("blank", StringValue.Empty); // Initialize Global Filters GlobalFilters .WithArrayFilters() .WithStringFilters() .WithNumberFilters() .WithMiscFilters(); }