示例#1
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core = core;
 }
示例#2
0
        public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            var p = new PluginSettings(core);

            AddAction(ACTION_SHOW);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(GeocacheNoteForm.STR_CACHENOTEEDITOR));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GeocacheNoteForm.STR_NOTESFOR));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GeocacheNoteForm.STR_PERSONALNOTE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GeocacheNoteForm.STR_NOTE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GeocacheNoteForm.STR_SAVE));

            return await base.InitializeAsync(core);
        }