Ejemplo n.º 1
0
 public static RestoreDBInstanceFromDBSnapshotResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new RestoreDBInstanceFromDBSnapshotResultUnmarshaller();
     }
     return(instance);
 }
        public RestoreDBInstanceFromDBSnapshotResponse Unmarshall(UnmarshallerContext context)
        {
            RestoreDBInstanceFromDBSnapshotResponse response = new RestoreDBInstanceFromDBSnapshotResponse();

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

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

            return(response);
        }