예제 #1
0
        private void HandleAfterActionExecution(AfterActionNotificationContent content)
        {
            var item = _items.Pop();

            item.EndDate = item.StartDate + content.Duration;
        }
 private static string RenderAfter(ActionNotification notification, AfterActionNotificationContent afterActionNotificationContent)
 {
     return(GetPrefix(notification.Depth) + $"Ending   {notification.Action.Name} ({afterActionNotificationContent.Duration.ToString("g", CultureInfo.CurrentCulture)})");
 }