예제 #1
0
 public IniData(IniData ori) : this((SectionDataCollection)ori.Sections)
 {
     Global        = (KeyDataCollection)ori.Global.Clone();
     Configuration = ori.Configuration.Clone();
 }
예제 #2
0
 /// <summary>
 /// Copies an instance of the <see cref="IniDataCaseInsensitive"/> class
 /// </summary>
 /// <param name="ori">Original </param>
 public IniDataCaseInsensitive(IniData ori)
     : this(new SectionDataCollection(ori.Sections, StringComparer.OrdinalIgnoreCase))
 {
     Global        = (KeyDataCollection)ori.Global.Clone();
     Configuration = ori.Configuration.Clone();
 }