alielie
2026-09-10 f3889f2d36c50cf99468594854def9b7ed069fb5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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<T>(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);
        }
    }
}