protected override void OnInit(EventArgs e)
 {
     base.OnInit(e);
     settings        = new KeywordSettings();
     settings        = settings.Load(SPContext.Current.Site);
     btn_Save.Click += new EventHandler(btn_Save_Click);
 }
Exemple #2
0
        public WordScraper()
        {
            settings = new KeywordSettings();
            settings = settings.Load();

            serviceLocator  = SharePointServiceLocator.GetCurrent();
            serviceKeywords = serviceLocator.GetInstance <IKeywordRepository>();
        }