Ejemplo n.º 1
0
        public static Adr LoadFromStream(Stream stream)
        {
            if (stream == null)
                return null;

            Adr adr = new Adr();

            while (stream.Position < stream.Length)
            {
                Tag tag = Tag.LoadFromStream(stream);

                adr.Tags.Add(tag);
            }

            return adr;
        }
Ejemplo n.º 2
0
        public static Adr LoadFromStream(Stream stream)
        {
            if (stream == null)
            {
                return(null);
            }

            Adr adr = new Adr();

            while (stream.Position < stream.Length)
            {
                Tag tag = Tag.LoadFromStream(stream);

                adr.Tags.Add(tag);
            }

            return(adr);
        }