RazorPage.DiagnosticSource 属性

定义

获取或设置 DiagnosticSource() 用于检测页面执行的实例。

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

属性值

属性
Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute

适用于