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