共用方式為


HelpPageSampleKey Constructors

Definition

Overloads

HelpPageSampleKey(MediaTypeHeaderValue, Type)

Creates a new HelpPageSampleKey based on media type and CLR type.

HelpPageSampleKey(SampleDirection, String, String, IEnumerable<String>)

Creates a new HelpPageSampleKey based on SampleDirection, controller name, action name and parameter names.

HelpPageSampleKey(MediaTypeHeaderValue, SampleDirection, String, String, IEnumerable<String>)

Creates a new HelpPageSampleKey based on media type, SampleDirection, controller name, action name and parameter names.

HelpPageSampleKey(MediaTypeHeaderValue, Type)

Creates a new HelpPageSampleKey based on media type and CLR type.

public HelpPageSampleKey (System.Net.Http.Headers.MediaTypeHeaderValue mediaType, Type parameterType);
new Microsoft.WindowsAzure.Mobile.Service.Description.Samples.HelpPageSampleKey : System.Net.Http.Headers.MediaTypeHeaderValue * Type -> Microsoft.WindowsAzure.Mobile.Service.Description.Samples.HelpPageSampleKey
Public Sub New (mediaType As MediaTypeHeaderValue, parameterType As Type)

Parameters

mediaType
MediaTypeHeaderValue

The media type.

parameterType
Type

The CLR type.

Applies to

HelpPageSampleKey(SampleDirection, String, String, IEnumerable<String>)

Creates a new HelpPageSampleKey based on SampleDirection, controller name, action name and parameter names.

public HelpPageSampleKey (Microsoft.WindowsAzure.Mobile.Service.Description.Samples.SampleDirection sampleDirection, string controllerName, string actionName, System.Collections.Generic.IEnumerable<string> parameterNames);
new Microsoft.WindowsAzure.Mobile.Service.Description.Samples.HelpPageSampleKey : Microsoft.WindowsAzure.Mobile.Service.Description.Samples.SampleDirection * string * string * seq<string> -> Microsoft.WindowsAzure.Mobile.Service.Description.Samples.HelpPageSampleKey
Public Sub New (sampleDirection As SampleDirection, controllerName As String, actionName As String, parameterNames As IEnumerable(Of String))

Parameters

sampleDirection
SampleDirection

The SampleDirection.

controllerName
String

Name of the controller.

actionName
String

Name of the action.

parameterNames
IEnumerable<String>

The parameter names.

Applies to

HelpPageSampleKey(MediaTypeHeaderValue, SampleDirection, String, String, IEnumerable<String>)

Creates a new HelpPageSampleKey based on media type, SampleDirection, controller name, action name and parameter names.

public HelpPageSampleKey (System.Net.Http.Headers.MediaTypeHeaderValue mediaType, Microsoft.WindowsAzure.Mobile.Service.Description.Samples.SampleDirection sampleDirection, string controllerName, string actionName, System.Collections.Generic.IEnumerable<string> parameterNames);
new Microsoft.WindowsAzure.Mobile.Service.Description.Samples.HelpPageSampleKey : System.Net.Http.Headers.MediaTypeHeaderValue * Microsoft.WindowsAzure.Mobile.Service.Description.Samples.SampleDirection * string * string * seq<string> -> Microsoft.WindowsAzure.Mobile.Service.Description.Samples.HelpPageSampleKey
Public Sub New (mediaType As MediaTypeHeaderValue, sampleDirection As SampleDirection, controllerName As String, actionName As String, parameterNames As IEnumerable(Of String))

Parameters

mediaType
MediaTypeHeaderValue

The media type.

sampleDirection
SampleDirection

The SampleDirection.

controllerName
String

Name of the controller.

actionName
String

Name of the action.

parameterNames
IEnumerable<String>

The parameter names.

Applies to