AWSSDK_DotNet35.UnitTests.Marshalling.SimpleEmailServiceMarshallingTests.DeleteConfigurationSetEventDestinationMarshallTest C# (CSharp) Метод

DeleteConfigurationSetEventDestinationMarshallTest() приватный Метод

private DeleteConfigurationSetEventDestinationMarshallTest ( ) : void
Результат void
        public void DeleteConfigurationSetEventDestinationMarshallTest()
        {
            var operation = service_model.FindOperation("DeleteConfigurationSetEventDestination");

            var request = InstantiateClassGenerator.Execute<DeleteConfigurationSetEventDestinationRequest>();
            var marshaller = new DeleteConfigurationSetEventDestinationRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


            var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
            var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null);
            var response = DeleteConfigurationSetEventDestinationResponseUnmarshaller.Instance.Unmarshall(context)
                as DeleteConfigurationSetEventDestinationResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }
SimpleEmailServiceMarshallingTests