public static PokemonData ImportPokemon(string source)
        {
            var target = new PokemonData[1];

            Xxporter.Import(source, target);
            return(target[0]);
        }
        public static string Export(PokemonData pm)
        {
            var sb = new StringBuilder();

            Xxporter.Export(sb, pm);
            return(sb.ToString());
        }
        public static PokemonTeam ImportTeam(string source)
        {
            var pms = new PokemonData[6];

            Xxporter.Import(source, pms);
            return(new PokemonTeam(pms));
        }
        public static string Export(IEnumerable <PokemonData> pms)
        {
            var  sb    = new StringBuilder();
            bool first = true;

            foreach (var pm in pms)
            {
                if (first)
                {
                    first = false;
                }
                else
                {
                    sb.AppendLine();
                    sb.AppendLine();
                }
                Xxporter.Export(sb, pm);
            }
            return(sb.ToString());
        }