public static Task <ITable> GetRandomTableAsync(this ITableCollection tableCollection, TableFlags tableFlags, Func <ITable, bool> predicate)
 {
     return(tableCollection.Dispatcher.InvokeAsync(() => tableCollection.RandomOrDefault(item => TableFlagsUtility.Test(item, tableFlags) == true && predicate(item) == true)));
 }
 public static Task <ITable> GetRandomTableAsync(this ITableCollection tableCollection, Func <ITable, bool> predicate)
 {
     return(tableCollection.Dispatcher.InvokeAsync(() => tableCollection.RandomOrDefault(predicate)));
 }