C# Class wehack.Areas.HelpPage.HelpPageSampleKey

This is used to identify the place where the sample should be applied.
Afficher le fichier Open project: unionthugface/wehack

Méthodes publiques

Méthode Description
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.

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

HelpPageSampleKey() public méthode

Creates a new HelpPageSampleKey based on media type.
public HelpPageSampleKey ( MediaTypeHeaderValue mediaType ) : System
mediaType System.Net.Http.Headers.MediaTypeHeaderValue The media type.
Résultat System

HelpPageSampleKey() public méthode

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.
Résultat System

HelpPageSampleKey() public méthode

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.
Résultat System

HelpPageSampleKey() public méthode

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.
Résultat System