public static IInterceptionConfiguration InterceptAll(this FluentAspectOptions options) => options.Intercept(m => true);
public static IInterceptionConfiguration InterceptMethod(this FluentAspectOptions options, Func <MethodInfo, bool> methodPredict) { return(options.Intercept(invocation => methodPredict(invocation.Method ?? invocation.ProxyMethod))); }