C# Class Solita.Episerver.WebApi.Attributes.WebApiLanguageAttribute

Sets Episerver default language context according to a method parameter value. Default language parameter names: "language", "languageId", "epslanguage".
Inheritance: System.Web.Http.Filters.ActionFilterAttribute
Show file Open project: solita/episerver-webapi

Public Methods

Method Description
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Private Methods

Method Description
ResolveLanguage ( object>.IDictionary actionParams ) : string

Method Details

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
return void