Esempio 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));
Esempio n. 2
0
 public static IClientBuilder <T> UseIdentity <T>(this IClientBuilder <T> builder)
     where T : class, IIdentityProvider => builder.Use(new IdentityMiddleware <T>());
Esempio n. 3
0
 public static IClientBuilder <T> UseLogging <T>(this IClientBuilder <T> builder)
     where T : class => builder.Use(new LoggingMiddleware <T>());