NDepend.API Documentation
IsActive Property (IRuleFileRef)
NDepend.Project Namespace > IRuleFileRef Interface : IsActive Property
Gets a value that indicates whether this rule file is active.
Syntax
bool IsActive {get;}
Remarks
The default value is true.
If this value is false, all queries and rules in this file are not active.
If this value is true, queries and rules in this file might be activated or not, depending on their NDepend.CodeQuery.IQuery.IsActive and NDepend.CodeQuery.IQuery.NDepend.CodeQuery.IQuery.Parent.NDepend.CodeQuery.IGroup.IsActive status.
Requirements

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

See Also

Reference

IRuleFileRef Interface
IRuleFileRef Members