Beispiel #1
0
 public CommonInterceptor(InterceptionDelegate <T> handler)
 {
     _handler = handler;
 }
Beispiel #2
0
 public void AddHandler <T>(InterceptionDelegate <T> handler)
 {
     _types.Add(typeof(T));
     _innerInterceptors.Add(typeof(T), new CommonInterceptor <T>(handler));
 }