コード例 #1
0
 private void RemoveScalarElementsAfter(ScalarBinding scalarBinding, int index, int count)
 {
     for (int i = 0; i < count; i++)
     {
         var element = Elements[index + 1];
         Debug.Assert(element.GetBinding() == scalarBinding);
         scalarBinding.Cleanup(element);
         ElementCollection.RemoveAt(index + 1);
     }
 }
コード例 #2
0
 public override void Dispose()
 {
     Presenter.ViewRefreshing -= OnViewRefreshing;
     _baseBinding.Cleanup(_element);
     s_bindingsByElement.Remove(_element);
 }