public void Detach(IDistributableTable table)
 {
     if (Table == table)
     {
         Table.BeforeEvaluation -= OnBeforeEvaluation;
         Table.AfterEvaluation  -= OnAfterEvaluation;
         Table = null;
     }
 }
 public void Attach(IDistributableTable table)
 {
     Table = table;
     table.BeforeEvaluation += OnBeforeEvaluation;
     table.AfterEvaluation  += OnAfterEvaluation;
 }