public HomeController(
     IOptions <FileContentTypes> fileContentTypesOptions,
     ILanguageContainer languageContainer,
     IExpressionExtractor expressionExtractor,
     IUserSessionContainer sessionContainer,
     IMathExpressionService mathService)
     : base(languageContainer)
 {
     this.fileContentTypes    = fileContentTypesOptions.Value;
     this.expressionExtractor = expressionExtractor;
     this.sessionContainer    = sessionContainer;
     this.mathService         = mathService;
 }
示例#2
0
 public static string GetResponseJsonFileName(FileContentTypes fileType)
 {
     return($"{fileType}.json");
 }