示例#1
0
		public static NumericColumnProxyForStandaloneColumns FromColumn(INumericColumn column)
		{
			var colAsDocumentNode = column as IDocumentLeafNode;
			if (null != colAsDocumentNode)
				throw new ArgumentException(string.Format("column does implement {0}. The actual type of column is {1}", typeof(IDocumentLeafNode), column.GetType()));

			return new NumericColumnProxyForStandaloneColumns(column); ;
		}
示例#2
0
        public static NumericColumnProxyForStandaloneColumns FromColumn(INumericColumn column)
        {
            var colAsDocumentNode = column as IDocumentLeafNode;

            if (null != colAsDocumentNode)
            {
                throw new ArgumentException(string.Format("column does implement {0}. The actual type of column is {1}", typeof(IDocumentLeafNode), column.GetType()));
            }

            return(new NumericColumnProxyForStandaloneColumns(column));

            ;
        }
示例#3
0
        public static NumericColumnProxy FromColumn(INumericColumn column)
        {
            if (null == column)
            {
                throw new ArgumentNullException("column");
            }
            var colAsDocumentNode = column as IDocumentLeafNode;

            if (null == colAsDocumentNode)
            {
                throw new ArgumentException(string.Format("column does not implement {0}. The actual type of column is {1}", typeof(IDocumentLeafNode), column.GetType()));
            }

            return(new NumericColumnProxy(colAsDocumentNode));
        }
示例#4
0
		public static NumericColumnProxy FromColumn(INumericColumn column)
		{
			if (null == column)
				throw new ArgumentNullException("column");
			var colAsDocumentNode = column as IDocumentLeafNode;
			if (null == colAsDocumentNode)
				throw new ArgumentException(string.Format("column does not implement {0}. The actual type of column is {1}", typeof(IDocumentLeafNode), column.GetType()));

			return new NumericColumnProxy(colAsDocumentNode);
		}