예제 #1
0
        public FubuRegistry()
        {
            _behaviorMatcher = new BehaviorMatcher((type, methodInfo) => _actionCallProvider(type, methodInfo));
            _observer        = new NulloConfigurationObserver();
            _viewAttacher    = new ViewAttacher(_types);

            setupDefaultConventionsAndPolicies();
        }
예제 #2
0
        public void SetUp()
        {
            graph   = new BehaviorGraph(null);
            matcher = new BehaviorMatcher();

            pool = new TypePool(null);
            pool.IgnoreCallingAssembly();

            pool.AddType <DifferentPatternClass>();
            pool.AddType <OneController>();
            pool.AddType <TwoController>();
            pool.AddType <ThreeController>();

            calls = null;
        }
 public ActionCallCandidateExpression(BehaviorMatcher matcher, TypePool types, ActionSourceMatcher actionSourceMatcher)
 {
     _matcher             = matcher;
     _actionSourceMatcher = actionSourceMatcher;
     _types = types;
 }