@@ -61,7 +61,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -50,7 +50,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -33,7 +33,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -56,7 +56,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -56,7 +56,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -45,7 +45,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -33,7 +33,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -27,7 +27,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -27,7 +27,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -27,7 +27,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -33,7 +33,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -27,7 +27,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -27,7 +27,7 @@ namespace DotNetCore.CAP.Dashboard.Pages | |||||
{ | { | ||||
#line hidden | #line hidden | ||||
public override void Execute() | |||||
protected override void Execute() | |||||
{ | { | ||||
@@ -3,6 +3,7 @@ using System.Diagnostics; | |||||
using System.Net; | using System.Net; | ||||
using System.Text; | using System.Text; | ||||
using DotNetCore.CAP.Dashboard.Monitoring; | using DotNetCore.CAP.Dashboard.Monitoring; | ||||
using DotNetCore.CAP.Internal; | |||||
using DotNetCore.CAP.NodeDiscovery; | using DotNetCore.CAP.NodeDiscovery; | ||||
using Microsoft.Extensions.DependencyInjection; | using Microsoft.Extensions.DependencyInjection; | ||||
@@ -20,16 +21,16 @@ namespace DotNetCore.CAP.Dashboard | |||||
Html = new HtmlHelper(this); | Html = new HtmlHelper(this); | ||||
} | } | ||||
public RazorPage Layout { get; protected set; } | |||||
public HtmlHelper Html { get; } | |||||
protected RazorPage Layout { get; set; } | |||||
protected HtmlHelper Html { get; } | |||||
public UrlHelper Url { get; private set; } | public UrlHelper Url { get; private set; } | ||||
public IStorage Storage { get; internal set; } | |||||
public string AppPath { get; internal set; } | |||||
public string NodeName { get; internal set; } | |||||
protected IStorage Storage { get; set; } | |||||
protected string AppPath { get; set; } | |||||
protected string NodeName { get; set; } | |||||
public int StatsPollingInterval { get; internal set; } | |||||
public Stopwatch GenerationTime { get; private set; } | |||||
protected int StatsPollingInterval { get; set; } | |||||
protected Stopwatch GenerationTime { get; private set; } | |||||
public StatisticsDto Statistics | public StatisticsDto Statistics | ||||
{ | { | ||||
@@ -40,16 +41,16 @@ namespace DotNetCore.CAP.Dashboard | |||||
} | } | ||||
} | } | ||||
protected DashboardRequest Request { private get; set; } | |||||
protected DashboardResponse Response { private get; set; } | |||||
private DashboardRequest Request { get; set; } | |||||
private DashboardResponse Response { get; set; } | |||||
internal IServiceProvider RequestServices { get; private set; } | internal IServiceProvider RequestServices { get; private set; } | ||||
public string RequestPath => Request.Path; | public string RequestPath => Request.Path; | ||||
/// <exclude /> | /// <exclude /> | ||||
public abstract void Execute(); | |||||
protected abstract void Execute(); | |||||
public string Query(string key) | |||||
protected string Query(string key) | |||||
{ | { | ||||
return Request.GetQuery(key); | return Request.GetQuery(key); | ||||
} | } | ||||