C# Class ExterniUredjajServis.Areas.HelpPage.HelpPageSampleKey

This is used to identify the place where the sample should be applied.
Mostra file Open project: ooad-2015-2016/Obavijesti

Public Methods

Method 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 method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

HelpPageSampleKey() public method

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

HelpPageSampleKey() public method

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.
return System

HelpPageSampleKey() public method

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.
return System

HelpPageSampleKey() public method

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.
return System