From 4858d23d6d5b9244ffc5f2d50b00968c858503ff Mon Sep 17 00:00:00 2001 From: bZverok <137277669+bZverok@users.noreply.github.com> Date: Thu, 27 Jun 2024 20:58:55 +0300 Subject: [PATCH] updated polling event names --- Apps.XTM/Polling/PollingList.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Apps.XTM/Polling/PollingList.cs b/Apps.XTM/Polling/PollingList.cs index 3258301..41aa362 100644 --- a/Apps.XTM/Polling/PollingList.cs +++ b/Apps.XTM/Polling/PollingList.cs @@ -20,22 +20,22 @@ public PollingList(InvocationContext invocationContext) : base(invocationContext { } - [PollingEvent("On projects created", "On any new projects created")] + [PollingEvent("On projects created (polling)", "On any new projects created")] public Task> OnProjectsCreated( PollingEventRequest request) => ProcessProjectsPolling(request, $"createdDateFrom={request.Memory?.LastInteractionDate.ToString("o", CultureInfo.InvariantCulture)}"); - [PollingEvent("On projects updated", "On any projects are updated")] + [PollingEvent("On projects updated (polling)", "On any projects are updated")] public Task> OnProjectsUpdated( PollingEventRequest request) => ProcessProjectsPolling(request, $"modifiedDateFrom={request.Memory?.LastInteractionDate.ToString("o", CultureInfo.InvariantCulture)}"); - [PollingEvent("On projects finished", "On any projects are finished")] + [PollingEvent("On projects finished (polling)", "On any projects are finished")] public Task> OnProjectsFinished( PollingEventRequest request) => ProcessProjectsPolling(request, $"finishedDateFrom={request.Memory?.LastInteractionDate.ToString("o", CultureInfo.InvariantCulture)}"); - [PollingEvent("On project status changed", "On status of the specific project changed")] + [PollingEvent("On project status changed (polling)", "On status of the specific project changed")] public async Task> OnProjectStatusChanged( PollingEventRequest request, [PollingEventParameter] ProjectRequest project,