Пример #1
0
 // TODO IChanged
 public ValuePerCell_FromDelegates(
     GetCellValueDelegate <T> f
     )
 {
     _begin_update = null;
     _end_update   = null;
     _func         = f;
 }
Пример #2
0
 // TODO IChanged
 public ValuePerCell_FromDelegates(
     Action <CellRange> begin_update,
     Action end_update,
     GetCellValueDelegate <T> f
     )
 {
     _begin_update = begin_update;
     _end_update   = end_update;
     _func         = f;
 }
Пример #3
0
 /// <summary>
 ///   Construct a SpreadSheet.
 /// </summary>
 /// <param name="cAD">A function that converts addresses in accordance to
 ///   <see cref="ConvertAddressDelegate"/>.</param>
 /// <param name="gCV">A function that gets a given cell's value in
 ///   accordance to <see cref="GetCellValueDelegate"/></param>
 public SpreadSheet(ConvertAddressDelegate cAD, GetCellValueDelegate gCV)
 {
     _convertAddress = cAD;
       _getCellValue = gCV;
 }
Пример #4
0
 SpreadSheet(ConvertAddressDelegate cAD, GetCellValueDelegate gCV)
 {
     _convertAddress = cAD;
     _getCellValue   = gCV;
 }