Ejemplo n.º 1
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="GeographicLocation" /> class.
        /// </summary>
        /// <param name="value">The value.</param>
        public GeographicLocation(string value)
            : this()
        {
            var serializer = new GeographicLocationSerializer( );

            CopyFrom(serializer.Deserialize(new StringReader(value)) as ICopyable);
        }
Ejemplo n.º 2
0
        public GeographicLocation(string value)
            : this()
        {
            GeographicLocationSerializer serializer = new GeographicLocationSerializer();

            StringReader reader = new StringReader(value);

            CopyFrom(serializer.Deserialize(reader) as ICopyable);
            reader.Dispose();
        }
Ejemplo n.º 3
0
        public GeographicLocation(string value) : this()
        {
            var serializer = new GeographicLocationSerializer();

            serializer.Deserialize(value);
        }
Ejemplo n.º 4
0
 public GeographicLocation(string value)
     : this()
 {
     GeographicLocationSerializer serializer = new GeographicLocationSerializer();
     CopyFrom(serializer.Deserialize(new StringReader(value)) as ICopyable);
 }