示例#1
0
        public void SetUp()
        {
            _bindingFlagsEvaluatorMock = MockRepository.GenerateStrictMock <IBindingFlagsEvaluator>();

            _selector = new MemberSelector(_bindingFlagsEvaluatorMock);

            _someDeclaringType = ReflectionObjectMother.GetSomeType();
        }
示例#2
0
        public MemberSelector(IBindingFlagsEvaluator bindingFlagsEvaluator)
        {
            ArgumentUtility.CheckNotNull("bindingFlagsEvaluator", bindingFlagsEvaluator);

            _bindingFlagsEvaluator = bindingFlagsEvaluator;
        }