Пример #1
0
        public override Rounding GetRounding(string name)
        {
            if (!IsRounding(name))
            {
                return(null);
            }

            return(RoundingFactory.Build(ColumnsDef.Single(
                                             c => c.Name == name &&
                                             c.Role == ColumnRole.Value)));
        }
Пример #2
0
        public Rounding GetRounding(int index)
        {
            if (!IsRounding(index))
            {
                return(null);
            }

            return(RoundingFactory.Build(ColumnsDef.Single(
                                             c => c.Index == index &&
                                             c.Role == ColumnRole.Value)));
        }
Пример #3
0
        public override Rounding GetRounding(int index)
        {
            if (!IsRounding(index))
            {
                return(null);
            }

            return(RoundingFactory.Build(ColumnsDef.Single(
                                             c => (c.Identifier as ColumnOrdinalIdentifier)?.Ordinal == index &&
                                             c.Role == ColumnRole.Value)));
        }