/// <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);
        }
        public GeographicLocation(string value)
            : this()
        {
            GeographicLocationSerializer serializer = new GeographicLocationSerializer();

            StringReader reader = new StringReader(value);

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

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