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); ; }
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)); ; }
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)); }
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); }