Class RestHeaderValuesProvider

Tries to create the ItemRange information parameter from the http request headers.

Inheritance
System.Object
RestHeaderValuesProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Services.Rest
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
[ServiceConfiguration(typeof(IRestControllerValueProvider))]
public class RestHeaderValuesProvider : IRestControllerValueProvider

Constructors

RestHeaderValuesProvider()

Declaration
public RestHeaderValuesProvider()

Methods

GetParameterValue(ControllerContext, ParameterDescriptor)

Returns the value for the Range http header.

Declaration
public 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.

Implements