コード例 #1
0
        public void run_against(TestTreeArgs <it> item)
        {
            var delegate_fields = item.type_that_contains_tests.GetFields(binding_flags).Where(field => field.FieldType == typeof(it));

            delegate_fields.each(field => item.tree.AddChild(item.parent, new DelegateRunInvoker(item.run, field)));
        }
コード例 #2
0
 public void run_against(TestTreeArgs <DelegateType> item)
 {
     item.tree.AddChild(item.parent, new TestDelegateInvoker <DelegateType>(
                            item.run, build_command_chain_to_target(item.type_that_contains_tests)));
 }