Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="questDbAccess">Quest 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="npcDbAccess">Npc Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="exportTemplateDbAccess">Export template Db access</param>
 /// <param name="mapDbAccess">Map Db Access</param>
 /// <param name="pageDbAccess">Page Db Access</param>
 /// <param name="pageVersionDbAccess">Page Version Db Access</param>
 /// <param name="taleConfigDbAccess">Tale Config Db Access</param>
 /// <param name="taleDbAccess">Tale 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, IAikaChapterDetailDbAccess chapterDetailDbAccess, IAikaChapterOverviewDbAccess chapterOverviewDbAccess, IEvneSkillDbAccess skillDbAccess, IKortistoNpcDbAccess npcDbAccess,
                                  IStyrItemDbAccess itemDbAccess, IExportTemplateDbAccess exportTemplateDbAccess, IKartaMapDbAccess mapDbAccess, IKirjaPageDbAccess pageDbAccess, IKirjaPageVersionDbAccess pageVersionDbAccess, ITaleDbAccess taleDbAccess,
                                  ITaleConfigDbAccess taleConfigDbAccess, ITaskBoardDbAccess taskBoardDbAccess, ITaskGroupTypeDbAccess taskGroupTypeDbAccess, ITaskTypeDbAccess taskTypeDbAccess, IUserTaskBoardHistoryDbAccess userTaskBoardHistoryDbAccess,
                                  IProjectDbAccess projectDbAccess, ITimelineDbAccess timelineDbAccess, ILockServiceDbAccess lockDbAccess, UserManager <GoNorthUser> userManager, SignInManager <GoNorthUser> signInManager, IUserDeleter userDeleter)
 {
     _questDbAccess                = questDbAccess;
     _chapterDetailDbAccess        = chapterDetailDbAccess;
     _chapterOverviewDbAccess      = chapterOverviewDbAccess;
     _skillDbAccess                = skillDbAccess;
     _npcDbAccess                  = npcDbAccess;
     _itemDbAccess                 = itemDbAccess;
     _exportTemplateDbAccess       = exportTemplateDbAccess;
     _mapDbAccess                  = mapDbAccess;
     _pageDbAccess                 = pageDbAccess;
     _pageVersionDbAccess          = pageVersionDbAccess;
     _taleDbAccess                 = taleDbAccess;
     _taleConfigDbAccess           = taleConfigDbAccess;
     _taskBoardDbAccess            = taskBoardDbAccess;
     _taskGroupTypeDbAccess        = taskGroupTypeDbAccess;
     _taskTypeDbAccess             = taskTypeDbAccess;
     _userTaskBoardHistoryDbAccess = userTaskBoardHistoryDbAccess;
     _projectDbAccess              = projectDbAccess;
     _timelineDbAccess             = timelineDbAccess;
     _lockDbAccess                 = lockDbAccess;
     _userManager                  = userManager;
     _signInManager                = signInManager;
     _userDeleter                  = userDeleter;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="kartaMapDbAccess">Karta Map Db Access</param>
 /// <param name="kirjaPageDbAccess">Kirja Page Db Access</param>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 public KartaMarkerLabelSync(IKartaMapDbAccess kartaMapDbAccess, IKirjaPageDbAccess kirjaPageDbAccess, IKortistoNpcDbAccess npcDbAccess, IStyrItemDbAccess itemDbAccess)
 {
     _kartaMapDbAccess    = kartaMapDbAccess;
     _kirjaPageDbAccess   = kirjaPageDbAccess;
     _kortistoNpcDbAccess = npcDbAccess;
     _styrItemDbAccess    = itemDbAccess;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="projectDbAccess">User Db Access</param>
 /// <param name="kortistoFolderDbAccess">Kortisto Folder Db Access</param>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="styrFolderDbAccess">Styr Folder Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="evneFolderDbAccess">Evne Folder Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 /// <param name="kirjaPageDbAccess">Kirja Page Db Access</param>
 /// <param name="chapterDetailDbAccess">Chapter Detail Db Access</param>
 /// <param name="questDbAccess">Quest Db Access</param>
 /// <param name="mapDbAccess">Map Db Access</param>
 /// <param name="taskBoardDbAccess">Task Board Db Access</param>
 /// <param name="taskNumberDbAccess">Task Number Db Access</param>
 /// <param name="userTaskBoardHistoryDbAccess">User Task board history db access</param>
 /// <param name="exportSettingsDbAccess">Export Settings Db Access</param>
 /// <param name="exportTemplateDbAccess">Export Template Db Access</param>
 /// <param name="includeExportTemplateDbAccess">Include export template Db Access</param>
 /// <param name="projectConfigDbAccess">Project Config Db Access</param>
 /// <param name="userManager">User Manager</param>
 /// <param name="timelineService">Timeline Service</param>
 /// <param name="logger">Logger</param>
 /// <param name="localizerFactory">Localizer Factory</param>
 public ProjectApiController(IProjectDbAccess projectDbAccess, IKortistoFolderDbAccess kortistoFolderDbAccess, IKortistoNpcDbAccess npcDbAccess, IStyrFolderDbAccess styrFolderDbAccess, IStyrItemDbAccess itemDbAccess, IEvneFolderDbAccess evneFolderDbAccess, IEvneSkillDbAccess skillDbAccess,
                             IKirjaPageDbAccess kirjaPageDbAccess, IAikaChapterDetailDbAccess chapterDetailDbAccess, IAikaQuestDbAccess questDbAccess, IKartaMapDbAccess mapDbAccess, ITaskBoardDbAccess taskBoardDbAccess, ITaskNumberDbAccess taskNumberDbAccess,
                             IUserTaskBoardHistoryDbAccess userTaskBoardHistoryDbAccess, IExportSettingsDbAccess exportSettingsDbAccess, IExportTemplateDbAccess exportTemplateDbAccess, IIncludeExportTemplateDbAccess includeExportTemplateDbAccess, IProjectConfigDbAccess projectConfigDbAccess,
                             UserManager <GoNorthUser> userManager, ITimelineService timelineService, ILogger <ProjectApiController> logger, IStringLocalizerFactory localizerFactory)
 {
     _projectDbAccess               = projectDbAccess;
     _kortistoFolderDbAccess        = kortistoFolderDbAccess;
     _npcDbAccess                   = npcDbAccess;
     _styrFolderDbAccess            = styrFolderDbAccess;
     _itemDbAccess                  = itemDbAccess;
     _evneFolderDbAccess            = evneFolderDbAccess;
     _evneSkillDbAccess             = skillDbAccess;
     _kirjaPageDbAccess             = kirjaPageDbAccess;
     _chapterDetailDbAccess         = chapterDetailDbAccess;
     _questDbAccess                 = questDbAccess;
     _mapDbAccess                   = mapDbAccess;
     _taskBoardDbAccess             = taskBoardDbAccess;
     _taskNumberDbAccess            = taskNumberDbAccess;
     _userTaskBoardHistoryDbAccess  = userTaskBoardHistoryDbAccess;
     _exportSettingsDbAccess        = exportSettingsDbAccess;
     _exportTemplateDbAccess        = exportTemplateDbAccess;
     _includeExportTemplateDbAccess = includeExportTemplateDbAccess;
     _projectConfigDbAccess         = projectConfigDbAccess;
     _userManager                   = userManager;
     _timelineService               = timelineService;
     _logger    = logger;
     _localizer = localizerFactory.Create(typeof(ProjectApiController));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="implementationStatusComparer">Implementation status comparer</param>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="npcSnapshotDbAccess">Npc Implementation Snapshot Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="itemSnapshotDbAccess">Item Implementation Snapshot Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 /// <param name="skillSnapshotDbAccess">Skill Implementation Snapshot Db Access</param>
 /// <param name="dialogDbAccess">Dialog Db Access</param>
 /// <param name="dialogSnapshotDbAccess">Dialog Implementation Snapshot Db Access</param>
 /// <param name="questDbAccess">Quest Db Access</param>
 /// <param name="questSnapshotDbAccess">Quest Implementation Snapshot Db Access</param>
 /// <param name="mapDbAccess">Map Db Access</param>
 /// <param name="markerSnapshotDbAccess">Marker Db Access</param>
 /// <param name="objectExportSnippetDbAccess">Object export snippet Db Access</param>
 /// <param name="objectExportSnippetSnapshotDbAccess">Object export snippet snapshot Db Access</param>
 /// <param name="stateMachineDbAccess">State machine Db Access</param>
 /// <param name="stateMachineSnapshotDbAccess">State machine Snapshot Db Access</param>
 /// <param name="timelineService">Timeline Service</param>
 /// <param name="logger">Logger</param>
 /// <param name="localizerFactory">Localizer Factory</param>
 public ImplementationStatusApiController(IImplementationStatusComparer implementationStatusComparer, IKortistoNpcDbAccess npcDbAccess, IKortistoNpcImplementationSnapshotDbAccess npcSnapshotDbAccess, IStyrItemDbAccess itemDbAccess, IStyrItemImplementationSnapshotDbAccess itemSnapshotDbAccess,
                                          IEvneSkillDbAccess skillDbAccess, IEvneSkillImplementationSnapshotDbAccess skillSnapshotDbAccess, ITaleDbAccess dialogDbAccess, ITaleDialogImplementationSnapshotDbAccess dialogSnapshotDbAccess, IAikaQuestDbAccess questDbAccess, IAikaQuestImplementationSnapshotDbAccess questSnapshotDbAccess,
                                          IKartaMapDbAccess mapDbAccess, IKartaMarkerImplementationSnapshotDbAccess markerSnapshotDbAccess, IObjectExportSnippetDbAccess objectExportSnippetDbAccess, IObjectExportSnippetSnapshotDbAccess objectExportSnippetSnapshotDbAccess, IStateMachineDbAccess stateMachineDbAccess,
                                          IStateMachineImplementationSnapshotDbAccess stateMachineSnapshotDbAccess, ITimelineService timelineService, ILogger <ImplementationStatusApiController> logger, IStringLocalizerFactory localizerFactory)
 {
     _implementationStatusComparer = implementationStatusComparer;
     _npcDbAccess                         = npcDbAccess;
     _npcSnapshotDbAccess                 = npcSnapshotDbAccess;
     _itemDbAccess                        = itemDbAccess;
     _itemSnapshotDbAccess                = itemSnapshotDbAccess;
     _skillDbAccess                       = skillDbAccess;
     _skillSnapshotDbAccess               = skillSnapshotDbAccess;
     _dialogDbAccess                      = dialogDbAccess;
     _dialogSnapshotDbAccess              = dialogSnapshotDbAccess;
     _questDbAccess                       = questDbAccess;
     _questSnapshotDbAccess               = questSnapshotDbAccess;
     _mapDbAccess                         = mapDbAccess;
     _markerSnapshotDbAccess              = markerSnapshotDbAccess;
     _objectExportSnippetDbAccess         = objectExportSnippetDbAccess;
     _objectExportSnippetSnapshotDbAccess = objectExportSnippetSnapshotDbAccess;
     _stateMachineDbAccess                = stateMachineDbAccess;
     _stateMachineSnapshotDbAccess        = stateMachineSnapshotDbAccess;
     _timelineService                     = timelineService;
     _logger    = logger;
     _localizer = localizerFactory.Create(typeof(ImplementationStatusApiController));
 }
Ejemplo n.º 5
0
        /// <summary>
        /// Export Cached Db Access
        /// </summary>
        /// <param name="exportSettingsDbAccess">Export Settings Db Access</param>
        /// <param name="objectExportSnippetDbAccess">Object export snippet Db Access</param>
        /// <param name="npcDbAccess">Npc Db Access</param>
        /// <param name="itemDbAccess">Item Db Access</param>
        /// <param name="skillDbAccess">Skill Db Access</param>
        /// <param name="questDbAccess">Quest Db Access</param>
        /// <param name="mapDbAccess">Map Db Access</param>
        /// <param name="pageDbAccess">Page Db Access</param>
        /// <param name="userProjectAccess">User project access</param>
        /// <param name="projectConfigProvider">Project config provider</param>
        /// <param name="includeExportTemplateDbAccess">Include export template Db access</param>
        public ExportCachedDbAccess(IExportSettingsDbAccess exportSettingsDbAccess, IObjectExportSnippetDbAccess objectExportSnippetDbAccess, IKortistoNpcDbAccess npcDbAccess, IStyrItemDbAccess itemDbAccess,
                                    IEvneSkillDbAccess skillDbAccess, IAikaQuestDbAccess questDbAccess, IKartaMapDbAccess mapDbAccess, IKirjaPageDbAccess pageDbAccess, IUserProjectAccess userProjectAccess,
                                    IProjectConfigProvider projectConfigProvider, IIncludeExportTemplateDbAccess includeExportTemplateDbAccess)
        {
            _exportSettingsDbAccess      = exportSettingsDbAccess;
            _objectExportSnippetDbAccess = objectExportSnippetDbAccess;
            _npcDbAccess                   = npcDbAccess;
            _itemDbAccess                  = itemDbAccess;
            _skillDbAccess                 = skillDbAccess;
            _questDbAccess                 = questDbAccess;
            _mapDbAccess                   = mapDbAccess;
            _pageDbAccess                  = pageDbAccess;
            _userProjectAccess             = userProjectAccess;
            _projectConfigProvider         = projectConfigProvider;
            _includeExportTemplateDbAccess = includeExportTemplateDbAccess;

            _cachedExportSettings         = new Dictionary <string, ExportSettings>();
            _cachedPlayerNpcs             = new Dictionary <string, KortistoNpc>();
            _cachedNpcs                   = new Dictionary <string, KortistoNpc>();
            _cachedItems                  = new Dictionary <string, StyrItem>();
            _cachedSkills                 = new Dictionary <string, EvneSkill>();
            _cachedQuest                  = new Dictionary <string, AikaQuest>();
            _cachedPages                  = new Dictionary <string, KirjaPage>();
            _cachedMarkers                = new Dictionary <string, KartaMapNamedMarkerQueryResult>();
            _cachedExportSnippets         = new Dictionary <string, List <ObjectExportSnippet> >();
            _cachedIncludeExportTemplates = new Dictionary <string, IncludeExportTemplate>();
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="npcSnapshotDbAccess">Npc Implementation Snapshot Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="itemSnapshotDbAccess">Item Implementation Snapshot Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 /// <param name="skillSnapshotDbAccess">Skill Implementation Snapshot Db Access</param>
 /// <param name="dialogDbAccess">Dialog Db Access</param>
 /// <param name="dialogSnapshotDbAccess">Dialog Implementation Snapshot Db Access</param>
 /// <param name="stateMachineDbAccess">State machine Db Access</param>
 /// <param name="stateMachineSnapshotDbAccess">State machine Snapshot Db Access</param>
 /// <param name="questDbAccess">Quest Db Access</param>
 /// <param name="questSnapshotDbAccess">Quest Implementation Snapshot Db Access</param>
 /// <param name="mapDbAccess">Map Db Access</param>
 /// <param name="markerSnapshotDbAccess">Marker Db Access</param>
 /// <param name="pageDbAccess">Kirja page Db Access</param>
 /// <param name="objectExportSnippetDbAccess">Object export snippet Db Access</param>
 /// <param name="objectExportSnippetSnapshotDbAccess">Object export snippet snapshot Db Access</param>
 /// <param name="localizerFactory">Localizer Factory</param>
 public GenericImplementationStatusComparer(IKortistoNpcDbAccess npcDbAccess, IKortistoNpcImplementationSnapshotDbAccess npcSnapshotDbAccess, IStyrItemDbAccess itemDbAccess, IStyrItemImplementationSnapshotDbAccess itemSnapshotDbAccess,
                                            IEvneSkillDbAccess skillDbAccess, IEvneSkillImplementationSnapshotDbAccess skillSnapshotDbAccess, ITaleDbAccess dialogDbAccess, ITaleDialogImplementationSnapshotDbAccess dialogSnapshotDbAccess,
                                            IStateMachineDbAccess stateMachineDbAccess, IStateMachineImplementationSnapshotDbAccess stateMachineSnapshotDbAccess, IAikaQuestDbAccess questDbAccess, IAikaQuestImplementationSnapshotDbAccess questSnapshotDbAccess,
                                            IKartaMapDbAccess mapDbAccess, IKartaMarkerImplementationSnapshotDbAccess markerSnapshotDbAccess, IKirjaPageDbAccess pageDbAccess, IObjectExportSnippetDbAccess objectExportSnippetDbAccess,
                                            IObjectExportSnippetSnapshotDbAccess objectExportSnippetSnapshotDbAccess, IStringLocalizerFactory localizerFactory)
 {
     _npcDbAccess                         = npcDbAccess;
     _npcSnapshotDbAccess                 = npcSnapshotDbAccess;
     _itemDbAccess                        = itemDbAccess;
     _itemSnapshotDbAccess                = itemSnapshotDbAccess;
     _skillDbAccess                       = skillDbAccess;
     _skillSnapshotDbAccess               = skillSnapshotDbAccess;
     _dialogDbAccess                      = dialogDbAccess;
     _dialogSnapshotDbAccess              = dialogSnapshotDbAccess;
     _stateMachineDbAccess                = stateMachineDbAccess;
     _stateMachineSnapshotDbAccess        = stateMachineSnapshotDbAccess;
     _questDbAccess                       = questDbAccess;
     _questSnapshotDbAccess               = questSnapshotDbAccess;
     _mapDbAccess                         = mapDbAccess;
     _markerSnapshotDbAccess              = markerSnapshotDbAccess;
     _pageDbAccess                        = pageDbAccess;
     _objectExportSnippetDbAccess         = objectExportSnippetDbAccess;
     _objectExportSnippetSnapshotDbAccess = objectExportSnippetSnapshotDbAccess;
     _localizer = localizerFactory.Create(typeof(GenericImplementationStatusComparer));
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="pageDbAccess">Page Db Access</param>
 /// <param name="pageVersionDbAccess">Page Version Db Access</param>
 /// <param name="kartaMapDbAccess">Karta Map Db Access</param>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="npcTemplateDbAccess">Npc Template Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 /// <param name="questDbAccess">Quest Db Access</param>
 /// <param name="dialogDbAccess">Dialog Db Access</param>
 /// <param name="objectExportSnippetDbAccess">Object export snippet Db Access</param>
 /// <param name="stateMachineDbAccess">State Machine Db Access</param>
 /// <param name="userProjectAccess">User project access</param>
 /// <param name="fileAccess">File Access</param>
 /// <param name="timelineService">Timeline Service</param>
 /// <param name="pageParserService">Page parser service</param>
 /// <param name="exportSnippetRelatedObjectNameResolver">Service that will resolve export snippet related object names</param>
 /// <param name="userManager">User Manager</param>
 /// <param name="xssChecker">Xss Checker</param>
 /// <param name="logger">Logger</param>
 /// <param name="localizerFactory">Localizer Factory</param>
 /// <param name="configuration">Config Data</param>
 public KirjaApiController(IKirjaPageDbAccess pageDbAccess, IKirjaPageVersionDbAccess pageVersionDbAccess, IKartaMapDbAccess kartaMapDbAccess, IKortistoNpcDbAccess npcDbAccess, IKortistoNpcTemplateDbAccess npcTemplateDbAccess, IStyrItemDbAccess itemDbAccess,
                           IEvneSkillDbAccess skillDbAccess, IAikaQuestDbAccess questDbAccess, ITaleDbAccess dialogDbAccess, IObjectExportSnippetDbAccess objectExportSnippetDbAccess, IStateMachineDbAccess stateMachineDbAccess, IUserProjectAccess userProjectAccess,
                           IKirjaFileAccess fileAccess, ITimelineService timelineService, IKirjaPageParserService pageParserService, IExportSnippetRelatedObjectNameResolver exportSnippetRelatedObjectNameResolver, UserManager <GoNorthUser> userManager,
                           IXssChecker xssChecker, ILogger <KirjaApiController> logger, IStringLocalizerFactory localizerFactory, IOptions <ConfigurationData> configuration)
 {
     _pageDbAccess                = pageDbAccess;
     _pageVersionDbAccess         = pageVersionDbAccess;
     _kartaMapDbAccess            = kartaMapDbAccess;
     _npcDbAccess                 = npcDbAccess;
     _npcTemplateDbAccess         = npcTemplateDbAccess;
     _itemDbAccess                = itemDbAccess;
     _skillDbAccess               = skillDbAccess;
     _questDbAccess               = questDbAccess;
     _dialogDbAccess              = dialogDbAccess;
     _objectExportSnippetDbAccess = objectExportSnippetDbAccess;
     _stateMachineDbAccess        = stateMachineDbAccess;
     _userProjectAccess           = userProjectAccess;
     _fileAccess        = fileAccess;
     _timelineService   = timelineService;
     _pageParserService = pageParserService;
     _exportSnippetRelatedObjectNameResolver = exportSnippetRelatedObjectNameResolver;
     _userManager = userManager;
     _xssChecker  = xssChecker;
     _logger      = logger;
     _localizer   = localizerFactory.Create(typeof(KirjaApiController));
     _allowedAttachmentMimeTypes = configuration.Value.Misc.KirjaAllowedAttachmentMimeTypes.Split(",").Select(s => ConvertMimeTypeToRegex(s)).ToList();
     _versionMergeTimeSpan       = configuration.Value.Misc.KirjaVersionMergeTimeSpan;
     _maxVersionCount            = configuration.Value.Misc.KirjaMaxVersionCount;
 }
Ejemplo n.º 8
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="defaultTemplateProvider">Default Template Provider</param>
        /// <param name="exportTemplateDbAccess">Export Template Db Access</param>
        /// <param name="exportSettingsDbAccess">Export Settings Db Access</param>
        /// <param name="projectDbAccess">Project Db Access</param>
        /// <param name="npcDbAccess">Npc Db Access</param>
        /// <param name="npcTemplateDbAccess">Npc Template Db Access</param>
        /// <param name="dialogDbAccess">Dialog Db Access</param>
        /// <param name="itemDbAccess">Item Db Access</param>
        /// <param name="itemTemplateDbAccess">Item Template Db Access</param>
        /// <param name="skillDbAccess">Skill Db Access</param>
        /// <param name="skillTemplateDbAccess">Skill Template Db Access</param>
        /// <param name="templatePlaceholderResolver">Template Placeholder Resolver</param>
        /// <param name="dialogFunctionDbAccess">Dialog Function Db Access</param>
        /// <param name="dialogFunctionGenerationConditionProvider">Dialog Function Generation Condition Provider</param>
        /// <param name="languageKeyDbAccess">Language Key Db Access</param>
        /// <param name="timelineService">Timeline Service</param>
        /// <param name="userManager">User Manager</param>
        /// <param name="logger">Logger</param>
        /// <param name="localizerFactory">Localizer Factory</param>
        public ExportApiController(IExportDefaultTemplateProvider defaultTemplateProvider, IExportTemplateDbAccess exportTemplateDbAccess, IExportSettingsDbAccess exportSettingsDbAccess, IProjectDbAccess projectDbAccess,
                                   IKortistoNpcDbAccess npcDbAccess, IKortistoNpcTemplateDbAccess npcTemplateDbAccess, ITaleDbAccess dialogDbAccess, IStyrItemDbAccess itemDbAccess, IStyrItemTemplateDbAccess itemTemplateDbAccess,
                                   IEvneSkillDbAccess skillDbAccess, IEvneSkillTemplateDbAccess skillTemplateDbAccess, IExportTemplatePlaceholderResolver templatePlaceholderResolver, IDialogFunctionGenerationConditionDbAccess dialogFunctionDbAccess,
                                   IDialogFunctionGenerationConditionProvider dialogFunctionGenerationConditionProvider, ILanguageKeyDbAccess languageKeyDbAccess, ITimelineService timelineService, UserManager <GoNorthUser> userManager, ILogger <ExportApiController> logger,
                                   IStringLocalizerFactory localizerFactory)
        {
            _defaultTemplateProvider     = defaultTemplateProvider;
            _exportTemplateDbAccess      = exportTemplateDbAccess;
            _exportSettingsDbAccess      = exportSettingsDbAccess;
            _projectDbAccess             = projectDbAccess;
            _npcDbAccess                 = npcDbAccess;
            _npcTemplateDbAccess         = npcTemplateDbAccess;
            _dialogDbAccess              = dialogDbAccess;
            _itemDbAccess                = itemDbAccess;
            _itemTemplateDbAccess        = itemTemplateDbAccess;
            _skillDbAccess               = skillDbAccess;
            _skillTemplateDbAccess       = skillTemplateDbAccess;
            _templatePlaceholderResolver = templatePlaceholderResolver;
            _dialogFunctionDbAccess      = dialogFunctionDbAccess;
            _dialogFunctionGenerationConditionProvider = dialogFunctionGenerationConditionProvider;
            _languageKeyDbAccess = languageKeyDbAccess;
            _timelineService     = timelineService;
            _userManager         = userManager;
            _logger    = logger;
            _localizer = localizerFactory.Create(this.GetType());

            _exporters = new Dictionary <string, IObjectExporter>();
            _exporters.Add("script", new ScriptExporter(templatePlaceholderResolver, projectDbAccess, exportSettingsDbAccess));
            _exporters.Add("json", new JsonExporter());
            _exporters.Add("languagefile", new LanguageExporter(templatePlaceholderResolver, defaultTemplateProvider, projectDbAccess, exportSettingsDbAccess));
        }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 /// <param name="implementationStatusComparer">Implementation Status comparer</param>
 /// <param name="timelineService">Timeline Service</param>
 public ExportSnippetRelatedObjectUpdater(IKortistoNpcDbAccess npcDbAccess, IStyrItemDbAccess itemDbAccess, IEvneSkillDbAccess skillDbAccess, IImplementationStatusComparer implementationStatusComparer, ITimelineService timelineService)
 {
     _npcDbAccess   = npcDbAccess;
     _itemDbAccess  = itemDbAccess;
     _skillDbAccess = skillDbAccess;
     _implementationStatusComparer = implementationStatusComparer;
     _timelineService = timelineService;
 }
Ejemplo n.º 10
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;
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="npcSnapshotDbAccess">Npc Implementation Snapshot Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="itemSnapshotDbAccess">Item Implementation Snapshot Db Access</param>
 /// <param name="dialogDbAccess">Dialog Db Access</param>
 /// <param name="dialogSnapshotDbAccess">Dialog Implementation Snapshot Db Access</param>
 /// <param name="questDbAccess">Quest Db Access</param>
 /// <param name="questSnapshotDbAccess">Quest Implementation Snapshot Db Access</param>
 /// <param name="mapDbAccess">Map Db Access</param>
 /// <param name="markerSnapshotDbAccess">Marker Db Access</param>
 /// <param name="localizerFactory">Localizer Factory</param>
 public GenericImplementationStatusComparer(IKortistoNpcDbAccess npcDbAccess, IKortistoNpcImplementationSnapshotDbAccess npcSnapshotDbAccess, IStyrItemDbAccess itemDbAccess, IStyrItemImplementationSnapshotDbAccess itemSnapshotDbAccess,
                                            ITaleDbAccess dialogDbAccess, ITaleDialogImplementationSnapshotDbAccess dialogSnapshotDbAccess, IAikaQuestDbAccess questDbAccess, IAikaQuestImplementationSnapshotDbAccess questSnapshotDbAccess,
                                            IKartaMapDbAccess mapDbAccess, IKartaMarkerImplementationSnapshotDbAccess markerSnapshotDbAccess, IStringLocalizerFactory localizerFactory)
 {
     _npcDbAccess            = npcDbAccess;
     _npcSnapshotDbAccess    = npcSnapshotDbAccess;
     _itemDbAccess           = itemDbAccess;
     _itemSnapshotDbAccess   = itemSnapshotDbAccess;
     _dialogDbAccess         = dialogDbAccess;
     _dialogSnapshotDbAccess = dialogSnapshotDbAccess;
     _questDbAccess          = questDbAccess;
     _questSnapshotDbAccess  = questSnapshotDbAccess;
     _mapDbAccess            = mapDbAccess;
     _markerSnapshotDbAccess = markerSnapshotDbAccess;
     _localizer = localizerFactory.Create(typeof(GenericImplementationStatusComparer));
 }
Ejemplo n.º 12
0
        /// <summary>
        /// Export Cached Db Access
        /// </summary>
        /// <param name="projectDbAccess">Project Db Access</param>
        /// <param name="exportSettingsDbAccess">Export Settings Db Access</param>
        /// <param name="npcDbAccess">Npc Db Access</param>
        /// <param name="itemDbAccess">Item Db Access</param>
        /// <param name="skillDbAccess">Skill Db Access</param>
        /// <param name="questDbAccess">Quest Db Access</param>
        public ExportCachedDbAccess(IProjectDbAccess projectDbAccess, IExportSettingsDbAccess exportSettingsDbAccess, IKortistoNpcDbAccess npcDbAccess, IStyrItemDbAccess itemDbAccess, IEvneSkillDbAccess skillDbAccess, IAikaQuestDbAccess questDbAccess)
        {
            _projectDbAccess        = projectDbAccess;
            _exportSettingsDbAccess = exportSettingsDbAccess;
            _npcDbAccess            = npcDbAccess;
            _itemDbAccess           = itemDbAccess;
            _skillDbAccess          = skillDbAccess;
            _questDbAccess          = questDbAccess;

            _cachedExportSettings = new Dictionary <string, ExportSettings>();
            _cachedPlayerNpcs     = new Dictionary <string, KortistoNpc>();
            _cachedNpcs           = new Dictionary <string, KortistoNpc>();
            _cachedItems          = new Dictionary <string, StyrItem>();
            _cachedSkills         = new Dictionary <string, EvneSkill>();
            _cachedQuest          = new Dictionary <string, AikaQuest>();
        }
Ejemplo n.º 13
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="projectDbAccess">User Db Access</param>
 /// <param name="kortistoFolderDbAccess">Kortisto Folder Db Access</param>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="styrFolderDbAccess">Styr Folder Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="kirjaPageDbAccess">Kirja Page Db Access</param>
 /// <param name="chapterDetailDbAccess">Chapter Detail Db Access</param>
 /// <param name="questDbAccess">Quest Db Access</param>
 /// <param name="mapDbAccess">Map Db Access</param>
 /// <param name="taskBoardDbAccess">Task Board Db Access</param>
 /// <param name="timelineService">Timeline Service</param>
 /// <param name="logger">Logger</param>
 /// <param name="localizerFactory">Localizer Factory</param>
 public ProjectApiController(IProjectDbAccess projectDbAccess, IKortistoFolderDbAccess kortistoFolderDbAccess, IKortistoNpcDbAccess npcDbAccess, IStyrFolderDbAccess styrFolderDbAccess, IStyrItemDbAccess itemDbAccess, IKirjaPageDbAccess kirjaPageDbAccess,
                             IAikaChapterDetailDbAccess chapterDetailDbAccess, IAikaQuestDbAccess questDbAccess, IKartaMapDbAccess mapDbAccess, ITaskBoardDbAccess taskBoardDbAccess, ITimelineService timelineService,
                             ILogger <ProjectApiController> logger, IStringLocalizerFactory localizerFactory)
 {
     _projectDbAccess        = projectDbAccess;
     _kortistoFolderDbAccess = kortistoFolderDbAccess;
     _npcDbAccess            = npcDbAccess;
     _styrFolderDbAccess     = styrFolderDbAccess;
     _itemDbAccess           = itemDbAccess;
     _kirjaPageDbAccess      = kirjaPageDbAccess;
     _chapterDetailDbAccess  = chapterDetailDbAccess;
     _questDbAccess          = questDbAccess;
     _mapDbAccess            = mapDbAccess;
     _taskBoardDbAccess      = taskBoardDbAccess;
     _timelineService        = timelineService;
     _logger    = logger;
     _localizer = localizerFactory.Create(typeof(ProjectApiController));
 }
Ejemplo n.º 14
0
        /// <summary>
        /// Export Cached Db Access
        /// </summary>
        /// <param name="projectDbAccess">Project Db Access</param>
        /// <param name="exportSettingsDbAccess">Export Settings Db Access</param>
        /// <param name="npcDbAccess">Npc Db Access</param>
        /// <param name="itemDbAccess">Item Db Access</param>
        /// <param name="skillDbAccess">Skill Db Access</param>
        /// <param name="questDbAccess">Quest Db Access</param>
        /// <param name="mapDbAccess">Map Db Access</param>
        /// <param name="projectConfigProvider">Project config provider</param>
        public ExportCachedDbAccess(IProjectDbAccess projectDbAccess, IExportSettingsDbAccess exportSettingsDbAccess, IKortistoNpcDbAccess npcDbAccess, IStyrItemDbAccess itemDbAccess, IEvneSkillDbAccess skillDbAccess,
                                    IAikaQuestDbAccess questDbAccess, IKartaMapDbAccess mapDbAccess, IProjectConfigProvider projectConfigProvider)
        {
            _projectDbAccess        = projectDbAccess;
            _exportSettingsDbAccess = exportSettingsDbAccess;
            _npcDbAccess            = npcDbAccess;
            _itemDbAccess           = itemDbAccess;
            _skillDbAccess          = skillDbAccess;
            _questDbAccess          = questDbAccess;
            _mapDbAccess            = mapDbAccess;
            _projectConfigProvider  = projectConfigProvider;

            _cachedExportSettings = new Dictionary <string, ExportSettings>();
            _cachedPlayerNpcs     = new Dictionary <string, KortistoNpc>();
            _cachedNpcs           = new Dictionary <string, KortistoNpc>();
            _cachedItems          = new Dictionary <string, StyrItem>();
            _cachedSkills         = new Dictionary <string, EvneSkill>();
            _cachedQuest          = new Dictionary <string, AikaQuest>();
            _cachedMarkers        = new Dictionary <string, KartaMapNamedMarkerQueryResult>();
        }
Ejemplo n.º 15
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="pageDbAccess">Page Db Access</param>
 /// <param name="pageVersionDbAccess">Page Version Db Access</param>
 /// <param name="projectDbAccess">User Db Access</param>
 /// <param name="kartaMapDbAccess">Karta Map Db Access</param>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 /// <param name="questDbAccess">Quest Db Access</param>
 /// <param name="fileAccess">File Access</param>
 /// <param name="timelineService">Timeline Service</param>
 /// <param name="pageParserService">Page parser service</param>
 /// <param name="userManager">User Manager</param>
 /// <param name="xssChecker">Xss Checker</param>
 /// <param name="logger">Logger</param>
 /// <param name="localizerFactory">Localizer Factory</param>
 /// <param name="configuration">Config Data</param>
 public KirjaApiController(IKirjaPageDbAccess pageDbAccess, IKirjaPageVersionDbAccess pageVersionDbAccess, IProjectDbAccess projectDbAccess, IKartaMapDbAccess kartaMapDbAccess, IKortistoNpcDbAccess npcDbAccess, IStyrItemDbAccess itemDbAccess, IEvneSkillDbAccess skillDbAccess,
                           IAikaQuestDbAccess questDbAccess, IKirjaFileAccess fileAccess, ITimelineService timelineService, IKirjaPageParserService pageParserService, UserManager <GoNorthUser> userManager, IXssChecker xssChecker, ILogger <KirjaApiController> logger,
                           IStringLocalizerFactory localizerFactory, IOptions <ConfigurationData> configuration)
 {
     _pageDbAccess        = pageDbAccess;
     _pageVersionDbAccess = pageVersionDbAccess;
     _projectDbAccess     = projectDbAccess;
     _kartaMapDbAccess    = kartaMapDbAccess;
     _npcDbAccess         = npcDbAccess;
     _itemDbAccess        = itemDbAccess;
     _skillDbAccess       = skillDbAccess;
     _questDbAccess       = questDbAccess;
     _fileAccess          = fileAccess;
     _timelineService     = timelineService;
     _pageParserService   = pageParserService;
     _userManager         = userManager;
     _xssChecker          = xssChecker;
     _logger    = logger;
     _localizer = localizerFactory.Create(typeof(KirjaApiController));
     _allowedAttachmentMimeTypes = configuration.Value.Misc.KirjaAllowedAttachmentMimeTypes.Split(",").Select(s => "^" + Regex.Escape(s).Replace("\\*", ".*") + "$").ToList();
     _versionMergeTimeSpan       = configuration.Value.Misc.KirjaVersionMergeTimeSpan;
     _maxVersionCount            = configuration.Value.Misc.KirjaMaxVersionCount;
 }
Ejemplo n.º 16
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="npcDbAccess">Npc Db Access</param>
 /// <param name="npcTemplateDbAccess">Npc Template Db Access</param>
 /// <param name="npcImplementationSnapshotDbAccess">Npc Implementation Snapshot 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="exportTemplateDbAccess">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="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="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</param>
 /// <param name="lockDbService">Lock Db Service</param>
 /// <param name="timelineDbAccess">Timeline Db Access</param>
 /// <param name="userManager">User manager</param>
 public UserDeleter(IAikaQuestDbAccess questDbAccess, IAikaQuestImplementationSnapshotDbAccess questImplementationSnapshotDbAccess, IAikaChapterDetailDbAccess chapterDetailDbAccess, IAikaChapterOverviewDbAccess chapterOverviewDbAccess, IEvneSkillDbAccess skillDbAccess,
                    IEvneSkillTemplateDbAccess skillTemplateDbAccess, IEvneSkillImplementationSnapshotDbAccess skillImplementationSnapshotDbAccess, IKortistoNpcDbAccess npcDbAccess, IKortistoNpcTemplateDbAccess npcTemplateDbAccess, IKortistoNpcImplementationSnapshotDbAccess npcImplementationSnapshotDbAccess,
                    IStyrItemDbAccess itemDbAccess, IStyrItemTemplateDbAccess itemTemplateDbAccess, IStyrItemImplementationSnapshotDbAccess itemImplementationSnapshotDbAccess, IExportTemplateDbAccess exportTemplateDbAccess, IObjectExportSnippetDbAccess objectExportSnippetDbAccess,
                    IKartaMapDbAccess mapDbAccess, IKirjaPageDbAccess pageDbAccess, IKirjaPageVersionDbAccess pageVersionDbAccess, ITaleDbAccess taleDbAccess, ITaleDialogImplementationSnapshotDbAccess taleImplementationSnapshotDbAccess, IProjectConfigDbAccess projectConfigDbAccess,
                    ITaskBoardDbAccess taskBoardDbAccess, ITaskGroupTypeDbAccess taskGroupTypeDbAccess, ITaskTypeDbAccess taskTypeDbAccess, IUserTaskBoardHistoryDbAccess userTaskBoardHistoryDbAccess, ILockServiceDbAccess lockDbService, ITimelineDbAccess timelineDbAccess,
                    UserManager <GoNorthUser> userManager)
 {
     _questDbAccess = questDbAccess;
     _questImplementationSnapshotDbAccess = questImplementationSnapshotDbAccess;
     _chapterDetailDbAccess               = chapterDetailDbAccess;
     _chapterOverviewDbAccess             = chapterOverviewDbAccess;
     _skillDbAccess                       = skillDbAccess;
     _skillTemplateDbAccess               = skillTemplateDbAccess;
     _skillImplementationSnapshotDbAccess = skillImplementationSnapshotDbAccess;
     _npcDbAccess         = npcDbAccess;
     _npcTemplateDbAccess = npcTemplateDbAccess;
     _npcImplementationSnapshotDbAccess = npcImplementationSnapshotDbAccess;
     _itemDbAccess         = itemDbAccess;
     _itemTemplateDbAccess = itemTemplateDbAccess;
     _itemImplementationSnapshotDbAccess = itemImplementationSnapshotDbAccess;
     _exportTemplateDbAccess             = exportTemplateDbAccess;
     _objectExportSnippetDbAccess        = objectExportSnippetDbAccess;
     _mapDbAccess         = mapDbAccess;
     _pageDbAccess        = pageDbAccess;
     _pageVersionDbAccess = pageVersionDbAccess;
     _taleDbAccess        = taleDbAccess;
     _taleImplementationSnapshotDbAccess = taleImplementationSnapshotDbAccess;
     _projectConfigDbAccess        = projectConfigDbAccess;
     _taskBoardDbAccess            = taskBoardDbAccess;
     _taskGroupTypeDbAccess        = taskGroupTypeDbAccess;
     _taskTypeDbAccess             = taskTypeDbAccess;
     _userTaskBoardHistoryDbAccess = userTaskBoardHistoryDbAccess;
     _lockDbService    = lockDbService;
     _timelineDbAccess = timelineDbAccess;
     _userManager      = userManager;
 }
Ejemplo n.º 17
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="npcDbAccess">Npc Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 public ExportSnippetRelatedObjectNameResolver(IKortistoNpcDbAccess npcDbAccess, IStyrItemDbAccess itemDbAccess, IEvneSkillDbAccess skillDbAccess)
 {
     _npcDbAccess   = npcDbAccess;
     _itemDbAccess  = itemDbAccess;
     _skillDbAccess = skillDbAccess;
 }
Ejemplo n.º 18
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="folderDbAccess">Folder Db Access</param>
 /// <param name="templateDbAccess">Template Db Access</param>
 /// <param name="itemDbAccess">Item Db Access</param>
 /// <param name="projectDbAccess">User Db Access</param>
 /// <param name="tagDbAccess">Tag Db Access</param>
 /// <param name="exportTemplateDbAccess">Export Template Db Access</param>
 /// <param name="languageKeyDbAccess">Language Key Db Access</param>
 /// <param name="exportFunctionIdDbAccess">Export Function Id Db Access</param>
 /// <param name="imageAccess">Item Image Access</param>
 /// <param name="thumbnailService">Thumbnail Service</param>
 /// <param name="aikaQuestDbAccess">Aika Quest 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="kortistoNpcDbAccess">Kortisto Npc Db Access</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 StyrApiController(IStyrFolderDbAccess folderDbAccess, IStyrItemTemplateDbAccess templateDbAccess, IStyrItemDbAccess itemDbAccess, IProjectDbAccess projectDbAccess, IStyrItemTagDbAccess tagDbAccess, IExportTemplateDbAccess exportTemplateDbAccess,
                          ILanguageKeyDbAccess languageKeyDbAccess, IExportFunctionIdDbAccess exportFunctionIdDbAccess, IStyrItemImageAccess imageAccess, IStyrThumbnailService thumbnailService, IAikaQuestDbAccess aikaQuestDbAccess, ITaleDbAccess taleDbAccess, IKirjaPageDbAccess kirjaPageDbAccess,
                          IKartaMapDbAccess kartaMapDbAccess, IKortistoNpcDbAccess kortistoNpcDbAccess, UserManager <GoNorthUser> userManager, IImplementationStatusComparer implementationStatusComparer, ITimelineService timelineService, IXssChecker xssChecker,
                          ILogger <StyrApiController> logger, IStringLocalizerFactory localizerFactory)
     : base(folderDbAccess, templateDbAccess, itemDbAccess, projectDbAccess, tagDbAccess, exportTemplateDbAccess, languageKeyDbAccess, exportFunctionIdDbAccess, imageAccess, thumbnailService, userManager,
            implementationStatusComparer, timelineService, xssChecker, logger, localizerFactory)
 {
     _aikaQuestDbAccess   = aikaQuestDbAccess;
     _taleDbAccess        = taleDbAccess;
     _kirjaPageDbAccess   = kirjaPageDbAccess;
     _kartaMapDbAccess    = kartaMapDbAccess;
     _kortistoNpcDbAccess = kortistoNpcDbAccess;
 }
Ejemplo n.º 19
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="folderDbAccess">Folder Db Access</param>
 /// <param name="templateDbAccess">Template Db Access</param>
 /// <param name="itemDbAccess">Item 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="stateMachineDbAccess">State Machine Db Access</param>
 /// <param name="imageAccess">Item Image Access</param>
 /// <param name="thumbnailService">Thumbnail Service</param>
 /// <param name="aikaQuestDbAccess">Aika Quest Db Access</param>
 /// <param name="taleDbAccess">Tale Db Access</param>
 /// <param name="skillDbAccess">Skill Db Access</param>
 /// <param name="kirjaPageDbAccess">Kirja Page Db Access</param>
 /// <param name="kartaMapDbAccess">Karta Map Db Access</param>
 /// <param name="kortistoNpcDbAccess">Kortisto Npc Db Access</param>
 /// <param name="npcTemplateDbAccess">Npc Template Db Access</param>
 /// <param name="userProjectAccess">User Project Access</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 StyrApiController(IStyrFolderDbAccess folderDbAccess, IStyrItemTemplateDbAccess templateDbAccess, IStyrItemDbAccess itemDbAccess, IStyrItemTagDbAccess tagDbAccess, IExportTemplateDbAccess exportTemplateDbAccess, IStyrImportFieldValuesLogDbAccess importFieldValuesLogDbAccess,
                          ILanguageKeyDbAccess languageKeyDbAccess, IExportFunctionIdDbAccess exportFunctionIdDbAccess, IObjectExportSnippetDbAccess objectExportSnippetDbAccess, IObjectExportSnippetSnapshotDbAccess objectExportSnippetSnapshotDbAccess, IExportSnippetRelatedObjectNameResolver exportSnippetRelatedObjectNameResolver,
                          IStateMachineDbAccess stateMachineDbAccess, IStyrItemImageAccess imageAccess, IStyrThumbnailService thumbnailService, IAikaQuestDbAccess aikaQuestDbAccess, IEvneSkillDbAccess skillDbAccess, ITaleDbAccess taleDbAccess, IKirjaPageDbAccess kirjaPageDbAccess, IKartaMapDbAccess kartaMapDbAccess,
                          IKortistoNpcDbAccess kortistoNpcDbAccess, IKortistoNpcTemplateDbAccess npcTemplateDbAccess, IUserProjectAccess userProjectAccess, ICsvGenerator csvGenerator, ICsvParser csvReader, UserManager <GoNorthUser> userManager, IImplementationStatusComparer implementationStatusComparer, ITimelineService timelineService,
                          IXssChecker xssChecker, ILogger <StyrApiController> logger, IStringLocalizerFactory localizerFactory)
     : base(folderDbAccess, templateDbAccess, itemDbAccess, 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;
     _kortistoNpcDbAccess = kortistoNpcDbAccess;
     _npcTemplateDbAccess = npcTemplateDbAccess;
 }