コード例 #1
0
        public void Setup()
        {
            var random = new Random();
            var name   = string.Format("a{0}b", random.Next());

            queue = new BusQueue(name, connection);
            queue.CreateIfNotExists().Wait();
        }
コード例 #2
0
        public void Setup()
        {
            var random = new Random();

            name = string.Format("a{0}b", random.Next());

            topic = new BusTopic(name, connection);
            topic.CreateIfNotExists().Wait();

            var s = new BusTopicSubscription(topic.Name, connection, "testing");

            s.CreateIfNotExists().Wait();
        }
コード例 #3
0
        public async Task Create()
        {
            var e = await queue.CreateIfNotExists();

            Assert.IsTrue(e);
        }