共用方式為


HelpPageSampleKey Class

Definition

This is used to identify the place where the sample should be applied.

public class HelpPageSampleKey
type HelpPageSampleKey = class
Public Class HelpPageSampleKey
Inheritance
HelpPageSampleKey

Constructors

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.

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

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

Properties

ActionName

Gets the name of the action.

ControllerName

Gets the name of the controller.

MediaType

Gets the media type.

ParameterNames

Gets the parameter names.

ParameterType
SampleDirection

Gets the SampleDirection.

Methods

Equals(Object)
GetHashCode()

Applies to