Skip to content
Tracon

AgentSourcePriority

Namespace Tracon · Assembly Tracon.Abstractions.dll

The priority values Tracon’s own built-in agent sources use.

public static class AgentSourcePriority

objectAgentSourcePriority

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

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.

Priority of the code-defined agent source.

public const int Code = 0

int

Priority of the database-backed agent source.

public const int Database = 100

int