Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="questDbAccess">Quest Db Access</param>
 /// <param name="questImplementationSnapshotDbAccess">Quest Implementation Snapshot Db Access</param>
 /// <param name="chapterDetailDbAccess">Chapter Detail Db Access</param>
 /// <param name="chapterOverviewDbAccess">Chapter Overview Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 /// <param name="skillTemplateDbAccess">Skill Template Db Access</param>
 /// <param name="skillImplementationSnapshotDbAccess">Skill Implementation Snapshot Db Access</param>
 /// <param name="skillImportFieldValuesLogDbAccess">Skill import field values log Db access</param>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="npcTemplateDbAccess">Npc Template Db Access</param>
 /// <param name="npcImplementationSnapshotDbAccess">Npc Implementation Snapshot Db Access</param>
 /// <param name="npcImportFieldValuesLogDbAccess">Npc import field values log Db access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="itemTemplateDbAccess">Item Template Db Access</param>
 /// <param name="itemImplementationSnapshotDbAccess">Item Implementation Snapshot Db Access</param>
 /// <param name="itemImportFieldValuesLogDbAccess">Item import field values log Db access</param>
 /// <param name="exportTemplateDbAccess">Export template Db access</param>
 /// <param name="includeExportTemplateDbAccess">Include export template Db Access</param>
 /// <param name="objectExportSnippetDbAccess">Object Export snippet Db Access</param>
 /// <param name="mapDbAccess">Map Db Access</param>
 /// <param name="pageDbAccess">Page Db Access</param>
 /// <param name="pageReviewDbAccess">Page Review Db Access</param>
 /// <param name="pageVersionDbAccess">Page Version Db Access</param>
 /// <param name="taleDbAccess">Tale Db Access</param>
 /// <param name="taleImplementationSnapshotDbAccess">Tale Implementation Snapshot Db Access</param>
 /// <param name="projectConfigDbAccess">Project Config Db Access</param>
 /// <param name="stateMachineDbAccess">State Machine Db Access</param>
 /// <param name="stateMachineSnapsshotDbAccess">State Machine Implementation Snapshot Db Access</param>
 /// <param name="taskBoardDbAccess">Task Bord Db Access</param>
 /// <param name="taskGroupTypeDbAccess">Task Group Type Db Access</param>
 /// <param name="taskTypeDbAccess">Task Type Db Access</param>
 /// <param name="userTaskBoardHistoryDbAccess">User Task Board History Db Access</param>
 /// <param name="projectDbAccess">Project Db Access</param>
 /// <param name="timelineDbAccess">Timeline Db Access</param>
 /// <param name="lockDbAccess">Lock Db Access</param>
 /// <param name="userManager">User manager</param>
 /// <param name="signInManager">Signin Manager</param>
 /// <param name="userDeleter">User Deleter</param>
 public PersonalDataApiController(IAikaQuestDbAccess questDbAccess, IAikaQuestImplementationSnapshotDbAccess questImplementationSnapshotDbAccess, IAikaChapterDetailDbAccess chapterDetailDbAccess, IAikaChapterOverviewDbAccess chapterOverviewDbAccess, IEvneSkillDbAccess skillDbAccess,
                                  IEvneSkillTemplateDbAccess skillTemplateDbAccess, IEvneSkillImplementationSnapshotDbAccess skillImplementationSnapshotDbAccess, IEvneImportFieldValuesLogDbAccess skillImportFieldValuesLogDbAccess, IKortistoNpcDbAccess npcDbAccess, IKortistoNpcTemplateDbAccess npcTemplateDbAccess,
                                  IKortistoNpcImplementationSnapshotDbAccess npcImplementationSnapshotDbAccess, IKortistoImportFieldValuesLogDbAccess npcImportFieldValuesLogDbAccess, IStyrItemDbAccess itemDbAccess, IStyrItemTemplateDbAccess itemTemplateDbAccess,
                                  IStyrItemImplementationSnapshotDbAccess itemImplementationSnapshotDbAccess, IStyrImportFieldValuesLogDbAccess itemImportFieldValuesLogDbAccess, IExportTemplateDbAccess exportTemplateDbAccess, IIncludeExportTemplateDbAccess includeExportTemplateDbAccess,
                                  IObjectExportSnippetDbAccess objectExportSnippetDbAccess, IKartaMapDbAccess mapDbAccess, IKirjaPageDbAccess pageDbAccess, IKirjaPageVersionDbAccess pageVersionDbAccess, IKirjaPageReviewDbAccess pageReviewDbAccess, ITaleDbAccess taleDbAccess,
                                  ITaleDialogImplementationSnapshotDbAccess taleImplementationSnapshotDbAccess, IStateMachineDbAccess stateMachineDbAccess, IStateMachineImplementationSnapshotDbAccess stateMachineSnapsshotDbAccess, IProjectConfigDbAccess projectConfigDbAccess, ITaskBoardDbAccess taskBoardDbAccess,
                                  ITaskGroupTypeDbAccess taskGroupTypeDbAccess, ITaskTypeDbAccess taskTypeDbAccess, IUserTaskBoardHistoryDbAccess userTaskBoardHistoryDbAccess, IProjectDbAccess projectDbAccess, ITimelineDbAccess timelineDbAccess, ILockServiceDbAccess lockDbAccess, UserManager <GoNorthUser> userManager,
                                  SignInManager <GoNorthUser> signInManager, IUserDeleter userDeleter)
 {
     _questDbAccess = questDbAccess;
     _questImplementationSnapshotDbAccess = questImplementationSnapshotDbAccess;
     _chapterDetailDbAccess               = chapterDetailDbAccess;
     _chapterOverviewDbAccess             = chapterOverviewDbAccess;
     _skillDbAccess                       = skillDbAccess;
     _skillTemplateDbAccess               = skillTemplateDbAccess;
     _skillImplementationSnapshotDbAccess = skillImplementationSnapshotDbAccess;
     _skillImportFieldValuesLogDbAccess   = skillImportFieldValuesLogDbAccess;
     _npcDbAccess         = npcDbAccess;
     _npcTemplateDbAccess = npcTemplateDbAccess;
     _npcImplementationSnapshotDbAccess = npcImplementationSnapshotDbAccess;
     _npcImportFieldValuesLogDbAccess   = npcImportFieldValuesLogDbAccess;
     _itemDbAccess         = itemDbAccess;
     _itemTemplateDbAccess = itemTemplateDbAccess;
     _itemImplementationSnapshotDbAccess = itemImplementationSnapshotDbAccess;
     _itemImportFieldValuesLogDbAccess   = itemImportFieldValuesLogDbAccess;
     _exportTemplateDbAccess             = exportTemplateDbAccess;
     _includeExportTemplateDbAccess      = includeExportTemplateDbAccess;
     _objectExportSnippetDbAccess        = objectExportSnippetDbAccess;
     _mapDbAccess         = mapDbAccess;
     _pageDbAccess        = pageDbAccess;
     _pageVersionDbAccess = pageVersionDbAccess;
     _pageReviewDbAccess  = pageReviewDbAccess;
     _taleDbAccess        = taleDbAccess;
     _taleImplementationSnapshotDbAccess = taleImplementationSnapshotDbAccess;
     _stateMachineDbAccess          = stateMachineDbAccess;
     _stateMachineSnapsshotDbAccess = stateMachineSnapsshotDbAccess;
     _projectConfigDbAccess         = projectConfigDbAccess;
     _taskBoardDbAccess             = taskBoardDbAccess;
     _taskGroupTypeDbAccess         = taskGroupTypeDbAccess;
     _taskTypeDbAccess             = taskTypeDbAccess;
     _userTaskBoardHistoryDbAccess = userTaskBoardHistoryDbAccess;
     _projectDbAccess  = projectDbAccess;
     _timelineDbAccess = timelineDbAccess;
     _lockDbAccess     = lockDbAccess;
     _userManager      = userManager;
     _signInManager    = signInManager;
     _userDeleter      = userDeleter;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="folderDbAccess">Folder Db Access</param>
 /// <param name="templateDbAccess">Template Db Access</param>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="tagDbAccess">Tag Db Access</param>
 /// <param name="exportTemplateDbAccess">Export Template Db Access</param>
 /// <param name="importFieldValuesLogDbAccess">Import field values log Db Access</param>
 /// <param name="languageKeyDbAccess">Language Key Db Access</param>
 /// <param name="exportFunctionIdDbAccess">Export Function Id Db Access</param>
 /// <param name="objectExportSnippetDbAccess">Object export snippet Db Access</param>
 /// <param name="objectExportSnippetSnapshotDbAccess">Object export snippet snapshot Db Access</param>
 /// <param name="exportSnippetRelatedObjectNameResolver">Service that will resolve export snippet related object names</param>
 /// <param name="imageAccess">Npc Image Access</param>
 /// <param name="thumbnailService">Thumbnail Service</param>
 /// <param name="aikaQuestDbAccess">Aika Quest Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 /// <param name="taleDbAccess">Tale Db Access</param>
 /// <param name="kirjaPageDbAccess">Kirja Page Db Access</param>
 /// <param name="kartaMapDbAccess">Karta Map Db Access</param>
 /// <param name="stateMachineDbAccess">State machine Db Access</param>
 /// <param name="userProjectAccess">User project access</param>
 /// <param name="projectConfigProvider">Project config provider</param>
 /// <param name="csvGenerator">CSV Generator</param>
 /// <param name="csvReader">CSV Reader</param>
 /// <param name="userManager">User Manager</param>
 /// <param name="implementationStatusComparer">Implementation Status Comparer</param>
 /// <param name="timelineService">Timeline Service</param>
 /// <param name="xssChecker">Xss Checker</param>
 /// <param name="logger">Logger</param>
 /// <param name="localizerFactory">Localizer Factory</param>
 public KortistoApiController(IKortistoFolderDbAccess folderDbAccess, IKortistoNpcTemplateDbAccess templateDbAccess, IKortistoNpcDbAccess npcDbAccess, IKortistoNpcTagDbAccess tagDbAccess, IExportTemplateDbAccess exportTemplateDbAccess, IKortistoImportFieldValuesLogDbAccess importFieldValuesLogDbAccess,
                              ILanguageKeyDbAccess languageKeyDbAccess, IExportFunctionIdDbAccess exportFunctionIdDbAccess, IObjectExportSnippetDbAccess objectExportSnippetDbAccess, IObjectExportSnippetSnapshotDbAccess objectExportSnippetSnapshotDbAccess, IExportSnippetRelatedObjectNameResolver exportSnippetRelatedObjectNameResolver,
                              IKortistoNpcImageAccess imageAccess, IKortistoThumbnailService thumbnailService, IAikaQuestDbAccess aikaQuestDbAccess, IEvneSkillDbAccess skillDbAccess, ITaleDbAccess taleDbAccess, IKirjaPageDbAccess kirjaPageDbAccess, IKartaMapDbAccess kartaMapDbAccess, IStateMachineDbAccess stateMachineDbAccess,
                              IUserProjectAccess userProjectAccess, IProjectConfigProvider projectConfigProvider, ICsvGenerator csvGenerator, ICsvParser csvReader, UserManager <GoNorthUser> userManager, IImplementationStatusComparer implementationStatusComparer, ITimelineService timelineService, IXssChecker xssChecker,
                              ILogger <KortistoApiController> logger, IStringLocalizerFactory localizerFactory)
     : base(folderDbAccess, templateDbAccess, npcDbAccess, tagDbAccess, exportTemplateDbAccess, importFieldValuesLogDbAccess, languageKeyDbAccess, exportFunctionIdDbAccess, objectExportSnippetDbAccess, objectExportSnippetSnapshotDbAccess, exportSnippetRelatedObjectNameResolver, stateMachineDbAccess, userProjectAccess,
            imageAccess, thumbnailService, csvGenerator, csvReader, userManager, implementationStatusComparer, timelineService, xssChecker, logger, localizerFactory)
 {
     _aikaQuestDbAccess     = aikaQuestDbAccess;
     _skillDbAccess         = skillDbAccess;
     _taleDbAccess          = taleDbAccess;
     _kirjaPageDbAccess     = kirjaPageDbAccess;
     _kartaMapDbAccess      = kartaMapDbAccess;
     _projectConfigProvider = projectConfigProvider;
 }