Esempio n. 1
0
        public void postCopyMasterSlideFromSourcePresentationExample()
        {
            MasterSlideResponse response = null;

            try
            {
                PostCopyMasterSlideFromSourcePresentationRequest request = createPostCopyMasterSlideFromSourcePresentationRequest();
                response = api.PostCopyMasterSlideFromSourcePresentation(request);
                Console.WriteLine(response);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }
Esempio n. 2
0
        public void getMasterSlideExample()
        {
            MasterSlideResponse response = null;

            try
            {
                GetMasterSlideRequest request = createGetMasterSlideRequest();
                response = api.GetMasterSlide(request);
                Console.WriteLine(response);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }
        public void GetMasterSlideInvalidName()
        {
            InvalidPropertyTestExecutor <GetMasterSlideRequest, MasterSlideResponse> testExecutor =
                new InvalidPropertyTestExecutor <GetMasterSlideRequest, MasterSlideResponse>("GetMasterSlide", "Name");
            GetMasterSlideRequest request  = testExecutor.PrepareRequest();
            MasterSlideResponse   response = null;
            bool needAssertResponse        = false;

            try
            {
                response           = m_instance.GetMasterSlide(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }
        public void PostCopyMasterSlideFromSourcePresentationInvalidStorage()
        {
            InvalidPropertyTestExecutor <PostCopyMasterSlideFromSourcePresentationRequest, MasterSlideResponse> testExecutor =
                new InvalidPropertyTestExecutor <PostCopyMasterSlideFromSourcePresentationRequest, MasterSlideResponse>("PostCopyMasterSlideFromSourcePresentation", "Storage");
            PostCopyMasterSlideFromSourcePresentationRequest request = testExecutor.PrepareRequest();
            MasterSlideResponse response = null;
            bool needAssertResponse      = false;

            try
            {
                response           = m_instance.PostCopyMasterSlideFromSourcePresentation(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }