HelpPageConfigurationExtensions.SetSampleRequest (HttpConfiguration, Object, MediaTypeHeaderValue, String, String) Method
<Extension()> _
Public Shared Sub SetSampleRequest( _
ByVal config As HttpConfiguration, _
ByVal sample As Object, _
ByVal mediaType As MediaTypeHeaderValue, _
ByVal controllerName As String, _
ByVal actionName As String _
)
This language is not supported or no code example is available.
public static void SetSampleRequest(
this HttpConfiguration config,
object sample,
MediaTypeHeaderValue mediaType,
string controllerName,
string actionName
)
This language is not supported or no code example is available.
[Extension()]
public:
static void SetSampleRequest(
HttpConfiguration^ config,
object^ sample,
MediaTypeHeaderValue^ mediaType,
String^ controllerName,
String^ actionName
)
This language is not supported or no code example is available.
public
Extension()
static function SetSampleRequest(
config : HttpConfiguration,
sample : object,
mediaType : MediaTypeHeaderValue,
controllerName : String,
actionName : String
);
This language is not supported or no code example is available.
Parameters
- config
- HttpConfiguration
The HttpConfiguration.
- sample
- object
The sample request.
- mediaType
- MediaTypeHeaderValue
The media type.
- controllerName
- string
Name of the controller.
- actionName
- string
Name of the action.