Method
CreateGroup
(GroupArchetype groupArchetype, bool withGroupMerge = true, string name = null)
Source from the content-addressed store, hash-verified
| 542 | } |
| 543 | |
| 544 | private VisjectCMGroup CreateGroup(GroupArchetype groupArchetype, bool withGroupMerge = true, string name = null) |
| 545 | { |
| 546 | if (name == null) |
| 547 | name = groupArchetype.Name; |
| 548 | if (withGroupMerge) |
| 549 | { |
| 550 | for (int i = 0; i < _groups.Count; i++) |
| 551 | { |
| 552 | if (string.Equals(_groups[i].HeaderText, name, StringComparison.Ordinal)) |
| 553 | return _groups[i]; |
| 554 | } |
| 555 | } |
| 556 | return new VisjectCMGroup(this, groupArchetype) |
| 557 | { |
| 558 | HeaderText = name |
| 559 | }; |
| 560 | } |
| 561 | |
| 562 | private void OnSearchFilterChanged() |
| 563 | { |
Callers
nothing calls this directly
Tested by
no test coverage detected