C# Класс SiaqodbCloudService.Areas.HelpPage.HelpPageSampleKey

This is used to identify the place where the sample should be applied.
Показать файл Открыть проект

Открытые методы

Метод Описание
Equals ( object obj ) : bool
GetHashCode ( ) : int
HelpPageSampleKey ( MediaTypeHeaderValue mediaType ) : System

Creates a new HelpPageSampleKey based on media type.

HelpPageSampleKey ( MediaTypeHeaderValue mediaType, SampleDirection sampleDirection, string controllerName, string actionName, IEnumerable parameterNames ) : System

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

HelpPageSampleKey ( MediaTypeHeaderValue mediaType, Type type ) : System

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

HelpPageSampleKey ( SampleDirection sampleDirection, string controllerName, string actionName, IEnumerable parameterNames ) : System

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

Описание методов

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

HelpPageSampleKey() публичный Метод

Creates a new HelpPageSampleKey based on media type.
public HelpPageSampleKey ( MediaTypeHeaderValue mediaType ) : System
mediaType System.Net.Http.Headers.MediaTypeHeaderValue The media type.
Результат System

HelpPageSampleKey() публичный Метод

Creates a new HelpPageSampleKey based on media type, SampleDirection, controller name, action name and parameter names.
public HelpPageSampleKey ( MediaTypeHeaderValue mediaType, SampleDirection sampleDirection, string controllerName, string actionName, IEnumerable parameterNames ) : System
mediaType System.Net.Http.Headers.MediaTypeHeaderValue The media type.
sampleDirection SampleDirection The .
controllerName string Name of the controller.
actionName string Name of the action.
parameterNames IEnumerable The parameter names.
Результат System

HelpPageSampleKey() публичный Метод

Creates a new HelpPageSampleKey based on media type and CLR type.
public HelpPageSampleKey ( MediaTypeHeaderValue mediaType, Type type ) : System
mediaType System.Net.Http.Headers.MediaTypeHeaderValue The media type.
type System.Type The CLR type.
Результат System

HelpPageSampleKey() публичный Метод

Creates a new HelpPageSampleKey based on SampleDirection, controller name, action name and parameter names.
public HelpPageSampleKey ( SampleDirection sampleDirection, string controllerName, string actionName, IEnumerable parameterNames ) : System
sampleDirection SampleDirection The .
controllerName string Name of the controller.
actionName string Name of the action.
parameterNames IEnumerable The parameter names.
Результат System