Called automatically by the IContentTypeAnalyzer on startup, if the pass has been added to the {P:Redakt.ContentManagement.Configuration.Analyzer.ContentTypeAnalyzerOptions.AnalyzerPasses} list.

public abstract Task RunPassAsync(IList<ContentTypeDefinition> definitions, IServiceProvider serviceProvider)
Returns:
Task

Parameters

definitions IList<ContentTypeDefinition>

The current collection of content type definitions. May be modified by running this pass.

serviceProvider IServiceProvider

The current instance in order to get services if needed by the pass.

In this article