예제 #1
0
        public void TestProcessApplicationCommand()
        {
            var command = new CreateApplicationCommand()
            {
                Payload = 1
            };

            _publisher.Publish(command);
        }
예제 #2
0
 public void TestCreate()
 {
     _publisher.Publish(new CreateApplicationCommand {
         Payload = 1
     });
 }
예제 #3
0
 public void Publish(IApplicationCommand command)
 => _publisher.Publish(command);