C# Class Microsoft.Legal.MatterCenter.Web.Controllers.ConfigController

Inheritance: Microsoft.AspNetCore.Mvc.Controller
Datei anzeigen Open project: Microsoft/mattercenter

Public Methods

Method Description
ConfigController ( IOptions errorSettings, IOptions generalSettings, IOptions uiConfigSettings, IOptions logTables, IMatterCenterServiceFunctions matterCenterServiceFunctions, IConfigRepository configRepository, IHostingEnvironment hostingEnvironment ) : System

Constructor where all the required dependencies are injected

Private Methods

Method Description
CreateConfig ( List configs, string fileName, bool includeSPOLabels ) : void

Helper method which will create uiconfig.js or uiconfigforspo.js file

Get ( [ filter ) : Task
GetConfigsForSPO ( [ filter ) : Task
InsertUpdate ( [ configs ) : Task

Method Details

ConfigController() public method

Constructor where all the required dependencies are injected
public ConfigController ( IOptions errorSettings, IOptions generalSettings, IOptions uiConfigSettings, IOptions logTables, IMatterCenterServiceFunctions matterCenterServiceFunctions, IConfigRepository configRepository, IHostingEnvironment hostingEnvironment ) : System
errorSettings IOptions
generalSettings IOptions
uiConfigSettings IOptions
logTables IOptions
matterCenterServiceFunctions IMatterCenterServiceFunctions
configRepository IConfigRepository
hostingEnvironment IHostingEnvironment
return System