namespace Spectre.Console; /// /// Represents something that can enrich a profile. /// public interface IProfileEnricher { /// /// Gets the name of the enricher. /// public string Name { get; } /// /// Gets whether or not this enricher is enabled. /// /// The environment variables. /// Whether or not this enricher is enabled. bool Enabled(IDictionary environmentVariables); /// /// Enriches the profile. /// /// The profile to enrich. void Enrich(Profile profile); }