public void In(FlowEventArgs e)
 {
     SetValue(nameof(ValueName));
     SetValue(nameof(Value));
     if (ValueName != null)
     {
         GlobalScope.SetValue(ValueName, Value);
     }
 }
Exemple #2
0
        static TemplateContext()
        {
            // Global properties
            GlobalScope.SetValue("empty", NilValue.Empty);
            GlobalScope.SetValue("blank", StringValue.Empty);

            // Initialize Global Filters
            GlobalFilters
            .WithArrayFilters()
            .WithStringFilters()
            .WithNumberFilters()
            .WithMiscFilters();
        }