Share via


RazorPageBase.DiagnosticSource Property

Definition

Gets or sets a DiagnosticSource instance used to instrument the page execution.

public:
 property System::Diagnostics::DiagnosticSource ^ DiagnosticSource { System::Diagnostics::DiagnosticSource ^ get(); void set(System::Diagnostics::DiagnosticSource ^ value); };
[Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInject]
public System.Diagnostics.DiagnosticSource DiagnosticSource { get; set; }
[<Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInject>]
member this.DiagnosticSource : System.Diagnostics.DiagnosticSource with get, set
Public Property DiagnosticSource As DiagnosticSource

Property Value

Attributes
Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute

Applies to