public static void Intercept <TSource, TDest>(this IBindableIocService service, Action <IInterceptorTypeDeclaration> types) where TSource : TDest => service.Intercept(new TypedInterceptionRule <TSource, TDest>(types));
public static void Intercept <TSource, TDest>(this IBindableIocService service, params IInterceptor[] interceptors) where TSource : TDest => service.Intercept(new SingletonInterceptorRule <TSource, TDest>(interceptors));
public static void Intercept <T>(this IBindableIocService service, Action <IInterceptorTypeDeclaration> types) => service.Intercept(new TypedInterceptionRule <T, T>(types));
public static void Intercept <T>(this IBindableIocService service, params IInterceptor[] interceptors) => service.Intercept(new SingletonInterceptorRule <T, T>(interceptors));
public static void InterceptSpecificType <TTypeToIntercept, TRequestedType>(this IBindableIocService service, Func <TTypeToIntercept, TRequestedType> conversion) where TTypeToIntercept : TRequestedType => service.Intercept(new InterceptFromFunc <TTypeToIntercept, TRequestedType>(conversion));
public static void Intercept <T>(this IBindableIocService service, Func <T, T> conversion) => service.Intercept(new InterceptFromFunc <T, T>(conversion));