London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Interface IRestControllerValueProvider

Interface for providing parameter values to the RestControllerActionInvoker

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