HelpPageSampleGenerator::ResolveType Method (ApiDescription^, String^, String^, IEnumerable<String^>^, SampleDirection, Collection<MediaTypeFormatter^>^%)

 

Resolves the type of the action parameter or return value when HttpRequestMessage or HttpResponseMessage is used.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Description.Samples
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

public:
virtual Type^ ResolveType(
	ApiDescription^ api,
	String^ controllerName,
	String^ actionName,
	IEnumerable<String^>^ parameterNames,
	SampleDirection sampleDirection,
	[OutAttribute] Collection<MediaTypeFormatter^>^% formatters
)

Parameters

api
Type: System.Web.Http.Description::ApiDescription^

The ApiDescription.

controllerName
Type: System::String^

Name of the controller.

actionName
Type: System::String^

Name of the action.

parameterNames
Type: System.Collections.Generic::IEnumerable<String^>^

The parameter names.

sampleDirection
Type: Microsoft.WindowsAzure.Mobile.Service.Description.Samples::SampleDirection

The value indicating whether the sample is for a request or a response.

formatters
Type: System.Collections.ObjectModel::Collection<MediaTypeFormatter^>^%

The formatters.

Return Value

Type: System::Type^
Return to top
Show: