public ControllerDefinitionFactory(
			IControllerElementsProvider actionProvider,
			IActionMethodDefinitionFactory actionFactory)
		{
			if (actionProvider == null) throw new ArgumentNullException("actionProvider");
			if (actionFactory == null) throw new ArgumentNullException("actionFactory");

			_actionProvider	= actionProvider;
			_actionFactory	= actionFactory;
		}
Esempio n. 2
0
        public ProxyGenerator(
			IControllerElementsProvider typesProvider,
			IControllerDefinitionFactory factory)
        {
            if (typesProvider == null) throw new ArgumentNullException("typesProvider");
            if (factory == null) throw new ArgumentNullException("factory");

            _typesProvider	= typesProvider;
            _factory		= factory;
        }
        public ControllerDefinitionFactory(
            IControllerElementsProvider actionProvider,
            IActionMethodDefinitionFactory actionFactory)
        {
            if (actionProvider == null)
            {
                throw new ArgumentNullException("actionProvider");
            }
            if (actionFactory == null)
            {
                throw new ArgumentNullException("actionFactory");
            }

            _actionProvider = actionProvider;
            _actionFactory  = actionFactory;
        }
Esempio n. 4
0
        public ProxyGenerator(
            IControllerElementsProvider typesProvider,
            IControllerDefinitionFactory factory)
        {
            if (typesProvider == null)
            {
                throw new ArgumentNullException("typesProvider");
            }
            if (factory == null)
            {
                throw new ArgumentNullException("factory");
            }

            _typesProvider = typesProvider;
            _factory       = factory;
        }