public void Handle(DeleteTestMessage message) { IScreenLocator screenLocator = _screenObjectLocator.BuildSubject(message.Test); IScreen screen = findScreenMatchingSubject(screenLocator); if (screen == null) { return; } Close(screen); }
public bool Equals(DeleteTestMessage other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other._test, _test)); }
public bool Equals(DeleteTestMessage other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other._test, _test); }