HelpPageSampleGenerator.ResolveType Method
<SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Justification = "This is only used in advanced scenarios.")> _
Public Overridable Function ResolveType( _
ByVal api As ApiDescription, _
ByVal controllerName As String, _
ByVal actionName As String, _
ByVal parameterNames As IEnumerable(Of String), _
ByVal sampleDirection As SampleDirection, _
ByRef formatters As Collection(Of MediaTypeFormatter) _
) As Type
This language is not supported or no code example is available.
[SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Justification = "This is only used in advanced scenarios.")]
public virtual Type ResolveType(
ApiDescription api,
string controllerName,
string actionName,
IEnumerable<string> parameterNames,
SampleDirection sampleDirection,
out Collection<MediaTypeFormatter> formatters
)
This language is not supported or no code example is available.
[SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", Justification = "This is only used in advanced scenarios.")]
public:
virtual Type^ ResolveType(
ApiDescription^ api,
String^ controllerName,
String^ actionName,
IEnumerable<String^>^ parameterNames,
SampleDirection sampleDirection,
Collection<MediaTypeFormatter^>^& formatters
)
This language is not supported or no code example is available.
Parameters
- api
- ApiDescription
The ApiDescription.
- controllerName
- string
Name of the controller.
- actionName
- string
Name of the action.
- parameterNames
- IEnumerable<string>
The parameter names.
- sampleDirection
- SampleDirection
The value indicating whether the sample is for a request or a response.
- formatters
- Collection<MediaTypeFormatter>
The formatters.