Пример #1
0
 public static CreateDBSecurityGroupResultUnmarshaller GetInstance()
 {
     if (instance == null) 
     {
        instance = new CreateDBSecurityGroupResultUnmarshaller();
     }
     return instance;
 }        
Пример #2
0
        public CreateDBSecurityGroupResponse Unmarshall(UnmarshallerContext context)
        {
            CreateDBSecurityGroupResponse response = new CreateDBSecurityGroupResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("CreateDBSecurityGroupResult", 2))
                    {
                        response.CreateDBSecurityGroupResult = CreateDBSecurityGroupResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }

                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return(response);
        }