FetchActiveRecord() публичный Метод

public FetchActiveRecord ( ParameterInfo param, ARFetchAttribute attr, IRequest request ) : object
param System.Reflection.ParameterInfo
attr ARFetchAttribute
request IRequest
Результат object
Пример #1
0
        public virtual object Bind(IEngineContext context, IController controller, IControllerContext controllerContext, ParameterInfo parameterInfo)
        {
            EnsureBinderExists();

            var fetcher = new ARFetcher(binder.Converter);

            return(fetcher.FetchActiveRecord(parameterInfo, this, context.Request, controllerContext.CustomActionParameters));
        }
Пример #2
0
		public virtual object Bind(IEngineContext context, IController controller, IControllerContext controllerContext, ParameterInfo parameterInfo)
		{
			EnsureBinderExists();

			ARFetcher fetcher = new ARFetcher(binder.Converter);

			return fetcher.FetchActiveRecord(parameterInfo, this, context.Request, controllerContext.CustomActionParameters);
		}
Пример #3
0
		public virtual object Bind(SmartDispatcherController controller, ParameterInfo parameterInfo)
		{
			ARFetcher fetcher = new ARFetcher(controller.Binder.Converter);
			
			return fetcher.FetchActiveRecord(parameterInfo, this, controller.Request);
		}