Class BehaviorAdvisoryCatalog
Namespace: Cephalon.Behaviors.Services
Assembly: Cephalon.Behaviors.dll
Aggregates advisories from all registered
public sealed class BehaviorAdvisoryCatalog : IBehaviorAdvisoryCatalogInheritance
Section titled “Inheritance”object ← BehaviorAdvisoryCatalog
Implements
Section titled “Implements”IBehaviorAdvisoryCatalog
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”BehaviorAdvisoryCatalog(IEnumerable<IBehaviorAdvisoryContributor>)
Section titled “ BehaviorAdvisoryCatalog(IEnumerable<IBehaviorAdvisoryContributor>)”Initializes the catalog from the provided contributors.
public BehaviorAdvisoryCatalog(IEnumerable<IBehaviorAdvisoryContributor> contributors)Parameters
Section titled “Parameters”contributors IEnumerable<IBehaviorAdvisoryContributor>
Properties
Section titled “Properties”Gets all active advisories.
public IReadOnlyList<IBehaviorAdvisory> All { get; }Property Value
Section titled “Property Value”IReadOnlyList<IBehaviorAdvisory>
Methods
Section titled “Methods”GetByBehavior(string)
Section titled “ GetByBehavior(string)”Gets advisories for a specific behavior identifier.
public IReadOnlyList<IBehaviorAdvisory> GetByBehavior(string behaviorId)Parameters
Section titled “Parameters”behaviorId string
Returns
Section titled “Returns”IReadOnlyList<IBehaviorAdvisory>
GetBySeverity(BehaviorAdvisorySeverity)
Section titled “ GetBySeverity(BehaviorAdvisorySeverity)”Gets advisories at or above the specified severity.
public IReadOnlyList<IBehaviorAdvisory> GetBySeverity(BehaviorAdvisorySeverity minimumSeverity)Parameters
Section titled “Parameters”minimumSeverity BehaviorAdvisorySeverity
Returns
Section titled “Returns”IReadOnlyList<IBehaviorAdvisory>