IAnalyzerConfigurationService
Represents a component that allows you to register rules and counters in the Workflow Analyzer.
Inheritance
IHasFeature > IAnalyzerConfigurationService
Methods
void AddRule(Rule rule) where T : IInspectionObject
Registers a rule in the Analyzer.
| Parameter Type | Parameter Name | Generic Type | Remarks |
|---|---|---|---|
| Rule | rule | IInspectionObject | An instance of IInspectionObject which represents the rule to be registered. |
void AddCounter(Counter counter) where T : IInspectionObject
Registers a counter in the Analyzer.
| Parameter Type | Parameter Name | Generic Type | Remarks |
|---|---|---|---|
| Counter | counter | IInspectionObject | An instance of IInspectionObject which represents the counter to be registered. |
Properties
| Type | Name | Description |
|---|---|---|
| string | ActiveProfile | The profile where the Workflow Analyzer is executed (e.g. Studio, StudioX). Requires Studio 2022.4 or later. |
IResult
Represents a result returned from a Workflow Analyzer command.
Properties
| Type | Name | Description |
|---|---|---|
| bool | HasErrors | Returns true if the command has errors. |
ICollection<string> | Messages | A collection of error messages. |