void HandleDomainLeaveServiceRequest(PlayReadyDomainLeaveServiceRequest serviceRequest)
        {
            TestLogger.LogMessage(" ");
            TestLogger.LogMessage("Enter RequestChain.HandleDomainLeaveServiceRequest()");

            _domainLeaveAndReportResult = new DomainLeaveAndReportResult(new ReportResultDelegate(HandleServiceRequest_Finished));
            _domainLeaveAndReportResult.RequestConfigData = _requestConfigData;
            _domainLeaveAndReportResult.DomainLeaveReactively(serviceRequest);

            TestLogger.LogMessage("Leave RequestChain.HandleDomainLeaveServiceRequest()");
        }
Esempio n. 2
0
        public void Test_DomainLeave(string strAccountId,
                                     string strServiceId,
                                     string dlURL,
                                     string useManualEnabling)
        {
            TestLogger.LogMessage("Enter Test_DomainLeave()");

            ServiceRequestConfigData requestConfigData = new ServiceRequestConfigData();

            requestConfigData.DomainUri       = ActionParamConvertToUri(dlURL);
            requestConfigData.DomainServiceId = ActionParamConvertToGuid(strServiceId);
            requestConfigData.DomainAccountId = ActionParamConvertToGuid(strAccountId);
            requestConfigData.ManualEnabling  = ActionParamConvertToBool(useManualEnabling);

            _domainLeaveAndReportResult = new DomainLeaveAndReportResult(new ReportResultDelegate(TestActionFinished));
            _domainLeaveAndReportResult.RequestConfigData = requestConfigData;
            _domainLeaveAndReportResult.DomainLeaveProactively();

            TestLogger.LogMessage("Leave Test_DomainLeave()");
        }