.NET API
AgentSourcePriority
Namespace Tracon · Assembly
Tracon.Abstractions.dllThe priority values Tracon’s own built-in agent sources use.
public static class AgentSourcePriority- Inheritance
- object ← AgentSourcePriority
- Inherited Members
- object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Nothing enforces these values against a custom IAgentSource: a third-party source may use any Int32, including AgentSourcePriority.Code or AgentSourcePriority.Database themselves. A source that shares a built-in value ties with it, and DI registration order breaks the tie (see IAgentSource.Priority). A custom source usually picks a value between AgentSourcePriority.Code and AgentSourcePriority.Database to run after code but before the database, or a value above AgentSourcePriority.Database to run last.
Fields
Section titled “Fields”Priority of the code-defined agent source.
public const int Code = 0Field Value
Section titled “Field Value”Database
Section titled “ Database”Priority of the database-backed agent source.
public const int Database = 100