Example #1
0
        public void Handle(DeleteTestMessage message)
        {
            IScreenLocator screenLocator = _screenObjectLocator.BuildSubject(message.Test);
            IScreen        screen        = findScreenMatchingSubject(screenLocator);

            if (screen == null)
            {
                return;
            }

            Close(screen);
        }
Example #2
0
 public bool Equals(DeleteTestMessage other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other._test, _test));
 }
Example #3
0
 public bool Equals(DeleteTestMessage other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other._test, _test);
 }