Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface IRestControllerValueProvider

Interface for providing parameter values to the RestControllerActionInvoker

Namespace: EPiServer.Shell.Services.Rest
Assembly: EPiServer.Shell.dll
Version: 7.19.2
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.

Extension Methods