public async Task <IList <ColorStyleItem> > GetColorsFromStyleAsync(StyleProjectItem style, string searchString) { if (style == null) { throw new System.ArgumentNullException(); } //Search for colors return(await QueuedTask.Run(() => style.SearchColors(searchString))); }