C# Class SampleApplication.Controllers.ControllerInjectionExample.ValuesController

Controller for the values
Inheritance: ApiController
Afficher le fichier Open project: ninject/Ninject.Web.WebApi

Méthodes publiques

Méthode Description
Get ( ) : IEnumerable

Handles: GET /values

ValuesController ( IValuesProvider valuesProvider1, IValuesProvider valuesProvider2 ) : System.Collections.Generic

Initializes a new instance of the ValuesController class.

Method Details

Get() public méthode

Handles: GET /values
public Get ( ) : IEnumerable
Résultat IEnumerable

ValuesController() public méthode

Initializes a new instance of the ValuesController class.
public ValuesController ( IValuesProvider valuesProvider1, IValuesProvider valuesProvider2 ) : System.Collections.Generic
valuesProvider1 IValuesProvider
valuesProvider2 IValuesProvider
Résultat System.Collections.Generic