forked from ddrilling/AsbCloudServer
CS2-3: Добавлен метод в интерфейс IReportHubClient
This commit is contained in:
parent
1358f7fc11
commit
c2f1338785
@ -27,7 +27,7 @@ namespace AsbCloudWebApi.Controllers
|
||||
}
|
||||
|
||||
private void HandleReportProgress (float progress, string operation, int id) =>
|
||||
reportsHubContext.Clients.Group($"Report{id}").SendAsync("GetReportProgress", progress);
|
||||
reportsHubContext.Clients.Group($"Report{id}").SendAsync(nameof(IReportHubClient.GetReportProgress), progress);
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
@ -2,6 +2,6 @@
|
||||
{
|
||||
public interface IReportHubClient
|
||||
{
|
||||
|
||||
float GetReportProgress();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user