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

            setupDefaultConventionsAndPolicies();
        }
示例#2
0
        public FubuRegistry()
        {
            _behaviorAggregator = new BehaviorAggregator(_types, _actionSources);
            _behaviorMatcher = new BehaviorMatcher((type, methodInfo) => _actionCallProvider(type, methodInfo));
            _observer = new NulloConfigurationObserver();
            _viewAttacherConvention = new ViewAttacherConvention();
            _bagRunner = new ViewBagConventionRunner(_types);
            _connegAttachmentPolicy = new ConnegAttachmentPolicy(_types);

            setupDefaultConventionsAndPolicies();
        }