Skip to main content

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 TypeParameter NameGeneric TypeRemarks
RuleruleIInspectionObjectAn instance of IInspectionObject which represents the rule to be registered.

void AddCounter(Counter counter) where T : IInspectionObject

Registers a counter in the Analyzer.

Parameter TypeParameter NameGeneric TypeRemarks
CountercounterIInspectionObjectAn instance of IInspectionObject which represents the counter to be registered.

Properties

TypeNameDescription
stringActiveProfileThe 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

TypeNameDescription
boolHasErrorsReturns true if the command has errors.
ICollection<string>MessagesA collection of error messages.