IProfileEnricher Interface

Represents something that can enrich a profile.
public interface IProfileEnricher
Namespace
Spectre.Console

Properties

abstract string Name
Gets the name of the enricher.

Methods

abstract bool Enabled(IDictionary<string, string>)
Gets whether or not this enricher is enabled.
abstract void Enrich(Profile)
Enriches the profile.

Extension Methods

T And<IProfileEnricher>(Action<IProfileEnricher>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.