SaaS CMS has officially launched! Learn more now.

Interface IRestControllerValueProvider

Interface for providing parameter values to the RestControllerActionInvoker

Namespace: EPiServer.Shell.Services.Rest
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public interface IRestControllerValueProvider

Methods

GetParameterValue(ControllerContext, ParameterDescriptor)

Returns the value for a specific parameter.

Declaration
object GetParameterValue(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor)
Parameters
Type Name Description
System.Web.Mvc.ControllerContext controllerContext

The controller context.

System.Web.Mvc.ParameterDescriptor parameterDescriptor

The parameter descriptor.

Returns
Type Description
System.Object

The parameter value if a match was made; otherwise false.