Beispiel #1
0
        private static Task OnViewModelCommandExecutedAsync(object sender, CommandExecutedEventArgs e)
        {
            if (!AuditingManager.IsAuditingEnabled)
            {
                return(TaskHelper.Completed);
            }

            AuditingManager.OnCommandExecuted((IViewModel)sender, e.CommandPropertyName, e.Command, e.CommandParameter);

            return(TaskHelper.Completed);
        }
Beispiel #2
0
 private static void OnViewModelCommandExecuted(object sender, CommandExecutedEventArgs e)
 {
     AuditingManager.OnCommandExecuted((IViewModel)sender, e.CommandPropertyName, e.Command, e.CommandParameter);
 }