public SimpleAroundInvokeProvider( IAroundInvoke around, Predicate<IInvocationInfo> predicate) { _around = around; Predicate = predicate; }
/// <summary> /// Initializes the <see cref="AroundInvokeAdapter" /> class. /// </summary> /// <param name="getTarget">The functor responsible for obtaining the target instance.</param> /// <param name="methodInvoke">The method invoker.</param> /// <param name="aroundInvoke">The target <see cref="IAroundInvoke" /> instance.</param> internal AroundInvokeAdapter(Func <object> getTarget, IMethodInvoke <MethodInfo> methodInvoke, IAroundInvoke aroundInvoke) : base(methodInvoke) { _wrapper = aroundInvoke; _getTarget = getTarget; }
/// <summary> /// Initializes the <see cref="AroundInvokeAdapter"/> class. /// </summary> /// <param name="getTarget">The functor responsible for obtaining the target instance.</param> /// <param name="methodInvoke">The method invoker.</param> /// <param name="aroundInvoke">The target <see cref="IAroundInvoke"/> instance.</param> internal AroundInvokeAdapter(Func<object> getTarget, IMethodInvoke<MethodInfo> methodInvoke, IAroundInvoke aroundInvoke) : base(methodInvoke) { _wrapper = aroundInvoke; _getTarget = getTarget; }
public SimpleAroundInvokeProvider( IAroundInvoke around, Predicate <IInvocationInfo> predicate) { _around = around; Predicate = predicate; }
public SampleAroundInvokeProvider(IAroundInvoke aroundInvoke) { _aroundInvoke = aroundInvoke; }
public SampleAroundInvokeProvider(IAroundInvoke aroundInvoke) { _aroundInvoke = aroundInvoke; }
/// <summary> /// Initializes a new instance of the <see cref="SimpleAroundInvokeProvider"/> class. /// </summary> /// <param name="around">The around invoke interceptor.</param> public SimpleAroundInvokeProvider(IAroundInvoke around) { _around = around; MethodInvokePredicate = ShouldReplace; }
public SimpleAroundInvokeProvider(IAroundInvoke around) { _around = around; }
public SimpleAroundInvokeProvider(IAroundInvoke around) { _around = around; }