public static SetActualRequestType ( this config, |
||
config | this | The |
type | The type. | |
controllerName | string | Name of the controller. |
actionName | string | Name of the action. |
return | void |
public static void SetActualRequestType(this HttpConfiguration config, Type type, string controllerName, string actionName)
{
config.GetHelpPageSampleGenerator().ActualHttpMessageTypes.Add(new HelpPageSampleKey(SampleDirection.Request, controllerName, actionName, new[] { "*" }), type);
}