Class QuantumScanRuleset
A set of rules for determining which entities should and shouldn't be scanned by Quantum Console for commands.
Namespace: QFSW.QC
Assembly: QFSW.QC.dll
Syntax
public class QuantumScanRuleset
Constructors
QuantumScanRuleset()
Creates a Quantum Scan Ruleset with the default injected scan rules
Declaration
public QuantumScanRuleset()
QuantumScanRuleset(IEnumerable<IQcScanRule>)
Creates a Quantum Scan Ruleset with a custom set of scan rules.
Declaration
public QuantumScanRuleset(IEnumerable<IQcScanRule> scanRules)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IQcScanRule> | scanRules | The IQcScanRules to use in this Quantum Scan Ruleset. |
Methods
ShouldScan<T>(T)
Queries if the entity should be scanned.
Declaration
public bool ShouldScan<T>(T entity)
where T : ICustomAttributeProvider
Parameters
Type | Name | Description |
---|---|---|
T | entity | The entity to query. |
Returns
Type | Description |
---|---|
Boolean | If the entity should be scanned. |
Type Parameters
Name | Description |
---|---|
T |