public ReflectedAsyncControllerDescriptor(Type controllerType)
			: base()
		{
			Precondition.Require(controllerType, () => Error.ArgumentNull("controllerType"));

			_controllerType = controllerType;
			_selector = new AsyncActionMethodSelector(_controllerType);
		}
Пример #2
0
        public ReflectedAsyncControllerDescriptor(Type controllerType)
            : base()
        {
            Precondition.Require(controllerType, () => Error.ArgumentNull("controllerType"));

            _controllerType = controllerType;
            _selector       = new AsyncActionMethodSelector(_controllerType);
        }