Пример #1
0
 public static object Eval(this object _this, string script)
 => PScript.Eval(_this, script);
Пример #2
0
 public static T Eval <T>(this object _this, string script)
 => (T)PScript.Eval(_this, script);
Пример #3
0
        static void Main(string[] args)
        {
            var f = new Foo();

            Console.WriteLine(PScript.Eval(f, "Foo.bar"));
        }