ListDiagnosticSource ListDiagnosticSource Class

Definition

public class ListDiagnosticSource : DiagnosticSource
Public Class ListDiagnosticSource
    Inherits DiagnosticSource
Inheritance
System.ObjectSystem.Object
ListDiagnosticSourceListDiagnosticSource

Constructors

ListDiagnosticSource(List<>>) ListDiagnosticSource(List(Of Tuple(Of String, Object)))

public ListDiagnosticSource(List<Tuple<string, object>> diagnosticList)
Public Sub New(diagnosticList As List(Of Tuple(Of String, Object)))
Parameters
diagnosticList
System.Collections.Generic.List<System.Tuple<System.String, System.Object>> System.Collections.Generic.List(Of System.Tuple(Of System.String, System.Object))

Properties

DiagnosticList DiagnosticList

public List<Tuple<string, object>> DiagnosticList { get; }
Public ReadOnly Property DiagnosticList As List(Of Tuple(Of String, Object))
Value
System.Collections.Generic.List<System.Tuple<System.String, System.Object>> System.Collections.Generic.List(Of System.Tuple(Of System.String, System.Object))

Methods

IsEnabled(String) IsEnabled(String)

public override bool IsEnabled(string diagnosticName)
Public Overrides Function IsEnabled(diagnosticName As String) As Boolean
Parameters
diagnosticName
System.String System.String
Returns
System.Boolean System.Boolean

Write(String, Object) Write(String, Object)

public override void Write(string diagnosticName, object parameters)
Public Overrides Sub Write(diagnosticName As String, parameters As Object)
Parameters
diagnosticName
System.String System.String
parameters
System.Object System.Object