Beispiel #1
0
        protected virtual string Evaluate(string data)
        {
            LSender.Send(this, $"'{Activator}'-evaluate: started with `{data}`", MsgLevel.Trace);

            if (soba != null)
            {
                data = soba.Eval(data);
                LSender.Send(this, $"'{Activator}'-evaluate: evaluated data: `{data}` :: ISBEScript", MsgLevel.Trace);
            }

            if (emsbuild != null)
            {
                //if(PostProcessingMSBuild) {
                data = emsbuild.Eval(data);
                LSender.Send(this, $"'{Activator}'-evaluate: evaluated data: `{data}` :: IMSBuild", MsgLevel.Trace);
                //}
            }

            return(data);
        }
Beispiel #2
0
 private string _NoSpaces(string raw, ISobaScript script)
 {
     return(script.Eval(raw).Replace("\r", "").Replace("\n", "").Replace(" ", ""));
 }