コード例 #1
0
        private void BigComplexTest(string bindingName)
        {
            BigContract bigContract;

            using (var client = new TestServiceClient(bindingName))
            {
                //client.InnerChannel.OperationTimeout = TimeSpan.FromSeconds(5);
                bigContract = client.GetDataUsingBigDataContract(BigContract);
            }

            Assert.IsNotNull(bigContract);
            Assert.IsNotNull(bigContract.CompositeTypes);
            foreach (var compositeType in bigContract.CompositeTypes)
            {
                AssertComposite(compositeType);
            }
        }
コード例 #2
0
        private void BigComplexTest(string bindingName)
        {
            BigContract bigContract;
            using (var client = new TestServiceClient(bindingName))
            {
                //client.InnerChannel.OperationTimeout = TimeSpan.FromSeconds(5);
                bigContract = client.GetDataUsingBigDataContract(BigContract);
            }

            Assert.IsNotNull(bigContract);
            Assert.IsNotNull(bigContract.CompositeTypes);
            foreach (var compositeType in bigContract.CompositeTypes)
            {
                AssertComposite(compositeType);
            }
        }