NDepend.API Documentation
CanInsertGroupUnder Method
NDepend.CodeQuery Namespace > IController Interface : CanInsertGroupUnder Method
The parent set under which a group might be inserted.
If false is returned, contains the plain-english explanation of the failure.
Gets a value indicating whether a group can be inserted under setParent.
Syntax
bool CanInsertGroupUnder( 
   IGroupOfGroups setParent,
   out string failureReason
)

Parameters

setParent
The parent set under which a group might be inserted.
failureReason
If false is returned, contains the plain-english explanation of the failure.
Remarks
If setParent.IGroup.IsExtractedFromCode a group cannot be inserted under it.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IController Interface
IController Members