C# 클래스 SpaStack.NET.Areas.HelpPage.HelpPageSampleKey

This is used to identify the place where the sample should be applied.
파일 보기 프로젝트 열기: ntheile/SpaStack.NET

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int
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, 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