Exemplo n.º 1
0
        public IActionBehavior BuildBehavior(TypeArguments arguments, Guid behaviorId)
        {
            Arguments = arguments.ShouldBeOfType <FubuMVC.Core.ServiceBus.Runtime.Invocation.InvocationContext>();
            _cascadingMessages.Each(x => Arguments.EnqueueCascading(x));

            _chain.UniqueId.ShouldBe(behaviorId);

            return(_behavior);
        }