Пример #1
0
 public void Update(
     ILiveElement element,
     int depth,
     int rowOffset,
     int expandedDescendantCount,
     bool expandToggleEnabled,
     bool isExpanded,
     bool isSelected,
     bool isAncestorSelected,
     bool isDescendantSelected)
 {
     _element.OnNextDistinct(Optional.Some(element));
     _rowOffset.OnNextDistinct(rowOffset);
     _expandedDescendantCount.OnNextDistinct(expandedDescendantCount);
     _depth.OnNextDistinct(depth);
     _isExpanded.OnNextDistinct(isExpanded);
     _expandToggleEnabled.OnNextDistinct(expandToggleEnabled);
     _isSelected.OnNextDistinct(isSelected);
     _isAncestorSelected.OnNextDistinct(isAncestorSelected);
     _isDescendantSelected = isDescendantSelected;
 }