public override void UpdateSettings(ITagSourceSettings settings) { /* * triggered when settings change. You can change any private vars used by Update at this point. * After this function exits, Update will be called, so do not call it here. */ _settings = (SampleWebTagSourceSettings)settings; }
public SampleWebTagSourceInstance(SampleWebTagSourceSettings settings, string cacheTimestamp) { _settings = settings; /* * Update will be called every 10 minutes by default. You can change it with * UpdateRefreshInterval(TimeSpan.FromMinutes(settings.RefreshRateInMinutes)); */ }