Ejemplo n.º 1
0
        protected GridCell(GridRow row, GridColumn column)
        {
            var logger = ObjectFactory.GetInstance<Logger>();

            if (row == null)
            {
                logger.Error("[ViewModels].[Management].[GridCell()] throwing exception ([row] == null).");
                throw new ArgumentNullException("row");
            }

            if (column == null)
            {
                logger.Error("[ViewModels].[Management].[GridCell()] throwing exception ([column] == null).");
                throw new ArgumentNullException("column");
            }

            Row = row;
            Column = column;
        }
Ejemplo n.º 2
0
 protected GridTextCell(GridRow row, GridTextColumn column)
     : base(row, column)
 {
     Column = column;
     TextValue = column.DefaultCellValue;
 }