src/Misc/EFTools/DesignXmlCore/Refactoring/PreviewChangesNode.cs
/// <summary>
///     Set the checked state of the current preview node and all of its child nodes
/// </summary>
/// <param name="checkState"></param>
Set the checked state of the current preview node and all of its child nodes
Set the checked state of the current preview node and all of its child nodes
private void SetChecked(__PREVIEWCHANGESITEMCHECKSTATE checkState)
        {
            _checkState = checkState;
            if (ChangeProposal != null)
            {
                ChangeProposal.Included = (checkState == __PREVIEWCHANGESITEMCHECKSTATE.PCCS_Checked);
            }
            if (_childList != null
                && _childList.Count > 0)
            {
                foreach (var child in _childList)
                {
                    child.SetChecked(checkState);
                }
            }
        }
private void SetChecked ( __PREVIEWCHANGESITEMCHECKSTATE checkState ) { _checkState = checkState ; if ( ChangeProposal != null ) { ChangeProposal . Included = ( checkState == __PREVIEWCHANGESITEMCHECKSTATE . PCCS_Checked ) ; } if ( _childList != null && _childList . Count > 0 ) { foreach ( var child in _childList ) { child . SetChecked ( checkState ) ; } } }
Set the checked state of the current preview node and all of its child nodes
Set the checked state of the current preview node and all of its child nodes
// Recurse to children
checkState
__PREVIEWCHANGESITEMCHECKSTATE
None