예제 #1
0
 public static async Task <IEvent <TEntity> > Send <TEntity>(this IMediator mediator, string commandName, Action <IDictionaryBuilder <string, object> > dictionaryBuilderAction)
     where TEntity : class
 {
     return(await mediator
            .Send <IEvent <TEntity> >(DefaultCommand
                                      .Create <TEntity>(commandName, dictionaryBuilderAction)).ConfigureAwait(false));
 }