public static void InterceptAllMethodBodies(this IReflectionVisitable target) { target.InterceptMethodBody(m => true); }
/// <summary> /// Intercepts all method bodies on the target item. /// </summary> /// <param name="target">The target to be modified.</param> /// <param name="methodFilter">The method filter that will determine the methods that will be modified.</param> public static void InterceptMethodBody(this IReflectionVisitable target, IMethodFilter methodFilter) { target.InterceptMethodBody(methodFilter.ShouldWeave); }