using System; namespace OpenTap.Addin.Util { public static class TestPlanRunAddIn { public static dynamic Resolve(this TestPlanRun run, ITestStep step, string expr) { return Resolve(run, step, expr, typeof(void)); } public static T Resolve(this TestPlanRun run, ITestStep step, string expr) { return Resolve(run, step, expr, typeof(T)); } public static dynamic Resolve(this TestPlanRun run, ITestStep step, string expr, Type targetType) { return run.Resolver.Resolve(run, step, expr, targetType); } public static void Update(this TestPlanRun run, ITestStep step, string expr) { run.Resolver.Update(run, step, expr); } public static void Update(this TestPlanRun run, ITestStep step, string name, object value) { run.Resolver.Update(run, step, name, value); } } }