Class DiagnosticsConvention
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Engine.Diagnostics
Assembly: Cephalon.Engine.dll
Describes the diagnostics convention published by one engine package or companion package.
public sealed record DiagnosticsConvention : IEquatable<DiagnosticsConvention>Inheritance
Section titled “Inheritance”object ← DiagnosticsConvention
Implements
Section titled “Implements”IEquatable<DiagnosticsConvention>
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”DiagnosticsConvention(string, string, string, IReadOnlyList<DiagnosticEventDefinition>)
Section titled “ DiagnosticsConvention(string, string, string, IReadOnlyList<DiagnosticEventDefinition>)”Describes the diagnostics convention published by one engine package or companion package.
public DiagnosticsConvention(string Source, string LoggerCategoryPrefix, string Description, IReadOnlyList<DiagnosticEventDefinition> Events)Parameters
Section titled “Parameters”Source string
The stable package or subsystem identifier that owns the convention.
LoggerCategoryPrefix string
The logger category prefix used by the convention.
Description string
The operator-facing explanation of what the convention covers.
Events IReadOnlyList<DiagnosticEventDefinition>
The published event definitions that belong to the convention.
Properties
Section titled “Properties”Description
Section titled “ Description”The operator-facing explanation of what the convention covers.
public string Description { get; init; }Property Value
Section titled “Property Value”Events
Section titled “ Events”The published event definitions that belong to the convention.
public IReadOnlyList<DiagnosticEventDefinition> Events { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<DiagnosticEventDefinition>
LoggerCategoryPrefix
Section titled “ LoggerCategoryPrefix”The logger category prefix used by the convention.
public string LoggerCategoryPrefix { get; init; }Property Value
Section titled “Property Value”MaximumEventId
Section titled “ MaximumEventId”Gets the largest event id published by this convention.
public int? MaximumEventId { get; }Property Value
Section titled “Property Value”int?
MinimumEventId
Section titled “ MinimumEventId”Gets the smallest event id published by this convention.
public int? MinimumEventId { get; }Property Value
Section titled “Property Value”int?
Source
Section titled “ Source”The stable package or subsystem identifier that owns the convention.
public string Source { get; init; }