using Hotline.FlowEngine.Notifications; using MediatR; using Hotline.EventBus; using Microsoft.Extensions.Logging; namespace Hotline.Application.Handlers.Order { [HandlerInject(AppScopes = EAppScope.LuZhou | EAppScope.YiBin)] public class OrderDelayWorkflowEndHandler : INotificationHandler { private readonly ILogger _logger; public OrderDelayWorkflowEndHandler(ILogger logger) { _logger = logger; } /// Handles a notification /// The notification /// Cancellation token public async Task Handle(EndWorkflowNotify notification, CancellationToken cancellationToken) { try { throw new NotImplementedException(); } catch (Exception e) { _logger.LogError(e.Message); throw; } } } }