Ejemplo n.º 1
0
 public static IClientBuilder <T> UseLogging <T>(this IClientBuilder <T> builder, Action <IContext <T> > log)
     where T : class => builder.Use(new LoggingMiddleware <T>(log));
Ejemplo n.º 2
0
 public static IClientBuilder <T> UseIdentity <T>(this IClientBuilder <T> builder)
     where T : class, IIdentityProvider => builder.Use(new IdentityMiddleware <T>());
Ejemplo n.º 3
0
 public static IClientBuilder <T> UseLogging <T>(this IClientBuilder <T> builder)
     where T : class => builder.Use(new LoggingMiddleware <T>());