public void SetUp()
        {
            theGraph = new ChannelGraph { Name = "FooNode" };

            var requirement = new GroupSubscriptionRequirement<BusSettings>(x => x.Upstream, x => x.Incoming);
            requirement.AddType(typeof(FooMessage));
            requirement.AddType(typeof(BarMessage));

            theSubscriptions = requirement.Determine(theSettings, theGraph);
        }
示例#2
0
        public void SetUp()
        {
            theGraph = new ChannelGraph {
                Name = "FooNode"
            };

            var requirement = new GroupSubscriptionRequirement <BusSettings>(x => x.Upstream, x => x.Incoming);

            requirement.AddType(typeof(FooMessage));
            requirement.AddType(typeof(BarMessage));

            theSubscriptions = requirement.Determine(theSettings, theGraph);
        }