C# Class MvcApi.Data.QueryOfTypeFilterAttribute

Inheritance: System.Web.Mvc.ActionFilterAttribute
显示文件 Open project: dax70/MvcApi

Public Methods

Method Description
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
QueryOfTypeFilterAttribute ( ) : System

Private Methods

Method Description
QueryOfType ( IQueryable source, Type type ) : IQueryable
ResolveType ( string typeName, Type baseType ) : Type

Method Details

OnActionExecuted() public method

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
return void

QueryOfTypeFilterAttribute() public method

public QueryOfTypeFilterAttribute ( ) : System
return System