public ColumnValueSet(TableDefinition table, SnapshotColumnInfo column, List <object> values, List <object> references)
 {
     Table      = table;
     Column     = column;
     Values     = values;
     References = references;
 }
 public static void Format(ColumnConfig cc, TableDefinition table, SnapshotColumnInfo column)
 {
     cc.Heading(column.Name);
     if (column.ObservedTypes.All(NumericTypeHelper.IsNumeric))
     {
         cc.RightAlign();
     }
 }
Esempio n. 3
0
        internal SnapshotColumnInfo ColumnAdded(string columnName, Type observedType = null)
        {
            var existing = _columns.SingleOrDefault(c => c.Name == columnName);

            if (existing == null)
            {
                existing = new SnapshotColumnInfo(columnName);
                _columns.Add(existing);
            }

            if (observedType != null)
            {
                existing.TypeObserved(observedType);
            }

            return(existing);
        }
Esempio n. 4
0
 public UnpredictableColumn(SnapshotColumnInfo column, List <ReferencingColumns> referencingColumns)
 {
     Column             = column;
     ReferencingColumns = referencingColumns;
 }