Пример #1
0
        public static Expression GetContextExpression(MethodInfo method = null)
        {
            method = method ?? GetMethodInfo();
            var type = new InvocationTypeProvider().GetInvocationType(method);

            return(Expression.Default(type));
        }
Пример #2
0
 public void SetUp()
 {
     _provider = new InvocationTypeProvider();
 }