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

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

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

            var request = InstantiateClassGenerator.Execute<CreateConfigurationSetEventDestinationRequest>();
            var marshaller = new CreateConfigurationSetEventDestinationRequestMarshaller();
            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 = CreateConfigurationSetEventDestinationResponseUnmarshaller.Instance.Unmarshall(context)
                as CreateConfigurationSetEventDestinationResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }
SimpleEmailServiceMarshallingTests