NSubstitute.Core.CallActions.InvokeMatchingActions C# (CSharp) Method

InvokeMatchingActions() public method

public InvokeMatchingActions ( ICall call ) : void
call ICall
return void
	    public void InvokeMatchingActions(ICall call)
        {
            var callInfo = _callInfoFactory.Create(call);
            foreach (var action in _actions.Where(x => x.IsSatisfiedBy(call)))
            {
                action.Invoke(callInfo);
            }
        }