protected override void Update() { var tags = TagsImporter.GetTags().ToArray(); if (_customNotes != null) { tags = tags.Select(x => { x.Notes = _customNotes; return(x); }).ToArray(); } TagSourceCache.Update(InstanceId, tags, null, true); }
protected override async void Update() { var tags = await TagsImporter.GetTags(); TagSourceCache.Update(InstanceId, tags, null, true); }