C# Class VisualRecognition.Controllers.ApiController

Inheritance: Microsoft.AspNetCore.Mvc.Controller
ファイルを表示 Open project: watson-developer-cloud/visual-recognition-aspnet

Public Methods

Method Description
ApiController ( IFileEncoderService fileEncoderService, IHostingEnvironment hostingEnvironment, IVisualRecognitionService visualRecognitionService ) : Microsoft.AspNetCore.Hosting
Classifiers ( string classifierId ) : Task

Private Methods

Method Description
Classifiers ( [ viewModel ) : Task
Classify ( [ BinderType = typeof(ClassifyImageViewModelBinder))]ClassifyImageViewModelviewModel ) : Task

Method Details

ApiController() public method

public ApiController ( IFileEncoderService fileEncoderService, IHostingEnvironment hostingEnvironment, IVisualRecognitionService visualRecognitionService ) : Microsoft.AspNetCore.Hosting
fileEncoderService IFileEncoderService
hostingEnvironment IHostingEnvironment
visualRecognitionService IVisualRecognitionService
return Microsoft.AspNetCore.Hosting

Classifiers() public method

public Classifiers ( string classifierId ) : Task
classifierId string
return Task