Ejemplo n.º 1
0
        public static CreateLBCookieStickinessPolicyResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new CreateLBCookieStickinessPolicyResultUnmarshaller();
            }

            return(instance);
        }
Ejemplo n.º 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);
        }