예제 #1
0
        public static CreateLBCookieStickinessPolicyResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new CreateLBCookieStickinessPolicyResultUnmarshaller();
            }

            return(instance);
        }
예제 #2
0
        public CreateLBCookieStickinessPolicyResponse Unmarshall(UnmarshallerContext context)
        {
            CreateLBCookieStickinessPolicyResponse response = new CreateLBCookieStickinessPolicyResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("CreateLBCookieStickinessPolicyResult", 2))
                    {
                        response.CreateLBCookieStickinessPolicyResult = CreateLBCookieStickinessPolicyResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return(response);
        }