Пример #1
0
        public void PutPresentationMerge()
        {
            GeneralTestExecutor <PutPresentationMergeRequest, DocumentResponse> testExecutor =
                new GeneralTestExecutor <PutPresentationMergeRequest, DocumentResponse>("PutPresentationMerge");
            PutPresentationMergeRequest request  = testExecutor.PrepareRequest();
            DocumentResponse            response = null;
            bool needAssertResponse = false;

            try
            {
                response           = m_instance.PutPresentationMerge(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }
Пример #2
0
        public void putPresentationMergeExample()
        {
            DocumentResponse response = null;

            try
            {
                PutPresentationMergeRequest request = createPutPresentationMergeRequest();
                response = api.PutPresentationMerge(request);
                Console.WriteLine(response);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }