AWSSDK_DotNet35.UnitTests.Marshalling.AutoScalingMarshallingTests.DeleteLifecycleHookMarshallTest C# (CSharp) Метод

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

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

            var request = InstantiateClassGenerator.Execute<DeleteLifecycleHookRequest>();
            var marshaller = new DeleteLifecycleHookRequestMarshaller();
            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 = DeleteLifecycleHookResponseUnmarshaller.Instance.Unmarshall(context)
                as DeleteLifecycleHookResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }
AutoScalingMarshallingTests