public void Execute() { if (!_sourceGroup.ManualBridgeSnippetsOfTargetGroups.Contains(_snippet)) { _sourceGroup.ManualBridgeSnippetsOfTargetGroups.Add(_snippet); //_snippet.SnippetType = SnippetType.BRIDGE; // disable Group Block, if exists if (_sourceGroup.ManuallyBlockedGroups.Contains(_snippet.Group)) { _commandChangeCompatibility = new CommandChangeCompatibility(_sourceGroup, _snippet.Group, CompatibilitySetting.neutral); _commandChangeCompatibility.Execute(); } EventArgs_BridgeSegmentToggled e = new EventArgs_BridgeSegmentToggled(_snippet, _sourceGroup); EditorModel.Instance.RaiseEvent_ManualBridgeSegmentToggled(e); } }