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); }
public WordScraper() { settings = new KeywordSettings(); settings = settings.Load(); serviceLocator = SharePointServiceLocator.GetCurrent(); serviceKeywords = serviceLocator.GetInstance <IKeywordRepository>(); }