Esempio n. 1
0
        public static AddInstanceGroupsResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new AddInstanceGroupsResultUnmarshaller();
            }

            return(instance);
        }
        public AddInstanceGroupsResponse Unmarshall(UnmarshallerContext context)
        {
            AddInstanceGroupsResponse response = new AddInstanceGroupsResponse();

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

            return(response);
        }