public ExpectEvent ( object target, string eventName ) : void | ||
target | object | |
eventName | string | |
Результат | void |
public void Expect(object target, string eventName, params object[] args) { EventExpectation expectation = new EventExpectation(); expectation.ExpectEvent(target, eventName, args); expectations.Add(expectation); }
public void Expect(object target, string eventName, params object[] args) { EventExpectation expectation = new EventExpectation(); expectation.ExpectEvent(target, eventName, args); expectations.Add(expectation); }