/// <summary> /// Initializes a new instance of the <see cref="PeriodList" /> class. /// </summary> /// <param name="value">The value.</param> public PeriodList(string value) : this() { var serializer = new PeriodListSerializer( ); CopyFrom(serializer.Deserialize(new StringReader(value)) as ICopyable); }
public PeriodList(string value) : this() { PeriodListSerializer serializer = new PeriodListSerializer(); StringReader reader = new StringReader(value); CopyFrom(serializer.Deserialize(reader) as ICopyable); reader.Dispose(); }
public PeriodList(string value) : this() { PeriodListSerializer serializer = new PeriodListSerializer(); CopyFrom(serializer.Deserialize(new StringReader(value)) as ICopyable); }