NDepend.API Documentation
DoChangeGroupActivation Method
NDepend.CodeQuery Namespace > IController Interface : DoChangeGroupActivation Method
The group on which to change the name.
The new activation boolean state of the group.
Change group.IGroup.IsActive to active.
Syntax
IGroup DoChangeGroupActivation( 
   IGroup group,
   bool active
)

Parameters

group
The group on which to change the name.
active
The new activation boolean state of the group.

Return Value

The new group object with the activation boolean state.
Exceptions
ExceptionDescription
Can't perform the group activation changing operation on these arguments.
Please check arguments with the method CanChangeGroupActivation before calling this method.
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