private static object GetValue <T>(DataViewSchema.Annotations annotations, DataViewSchema.Column column)
        {
            T value = default;

            annotations.GetGetter <T>(column)(ref value);
            return(value);
        }
        private static List <KeyValuePair <string, object> > BuildValues(DataViewSchema.Annotations annotations)
        {
            var result = new List <KeyValuePair <string, object> >();

            foreach (var column in annotations.Schema)
            {
                var name  = column.Name;
                var value = Utils.MarshalInvoke(GetValue <DataViewSchema.Column>, column.Type.RawType, annotations, column);
                result.Add(new KeyValuePair <string, object>(name, value));
            }
            return(result);
        }
 public AnnotationsDebuggerProxy(DataViewSchema.Annotations annotations)
 {
     Values = BuildValues(annotations);
 }