private static IInterception WrapWith(this IInterception target, IWrappingInterception wrapper) { return(new WrappingInterception(wrapper, target)); }
public WrappingInterception(IWrappingInterception wrapper, IInterception toWrap) { _wrapper = wrapper; _toWrap = toWrap; }
public static IInterception WrapWith(this IInterception target, IWrappingInterception wrapper) { return new WrappingInterception(wrapper, target); }