Beispiel #1
0
 public static IEnumerable <T> GetLabels <T>(this object[][] dataset, IDataFormat format)
 {
     return(dataset.Select(d => format.GetLabel <T>(d)));
 }
Beispiel #2
0
 public virtual Task <object> GetLabelById(long id)
 {
     object[] row = GetItemById(id).Result;
     return(Task.FromResult(dataFormat.GetLabel <object>(row)));
 }