Esempio n. 1
0
        private GpxAttributes ReadGpxAttributes()
        {
            GpxAttributes attributes = new GpxAttributes();

            while (reader.MoveToNextAttribute())
            {
                switch (reader.Name)
                {
                case "version":
                    attributes.Version = reader.Value;
                    break;

                case "creator":
                    attributes.Creator = reader.Value;
                    break;
                }
            }

            return(attributes);
        }
Esempio n. 2
0
        private GpxAttributes ReadGpxAttribures()
        {
            GpxAttributes attributes = new GpxAttributes();

            while (Reader_.MoveToNextAttribute())
            {
                switch (Reader_.Name)
                {
                    case "version":
                        attributes.Version = Reader_.Value;
                        break;
                    case "creator":
                        attributes.Creator = Reader_.Value;
                        break;
                }
            }

            return attributes;
        }