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

Parameters

groupParent
The parent group under which a query might be inserted.
failureReason
If false is returned, contains the plain-english explanation of the failure.
Remarks
If groupParent.IGroup.IsExtractedFromCode a query 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