public Core.OngoingStubbing With(params object[] arguments) { Core.MatcherList matchers = new MatcherList(arguments); returns[matchers] = new List <Core.StubAction>(); return(new OngoingStubbing(arguments, returns[matchers])); }
public bool Equals(Core.MatcherList other_) { MatcherList other = (MatcherList)other_; if (this.matchers.Length != other.matchers.Length) { return(false); } for (int i = 0; i < this.matchers.Length; ++i) { if (!this.matchers[i].Equals(other.matchers[i])) { return(false); } } return(true); }