Пример #1
0
 public ClientBuilder AddGlobalInterceptor <TInterceptor>() where TInterceptor : Interceptor
 {
     GlobalInterceptors.Add(typeof(TInterceptor));
     return(this);
 }
Пример #2
0
 public void WithGlobalInterceptor(IInterceptor interceptor)
 {
     GlobalInterceptors.Add(interceptor);
 }