/// <summary>
 /// Creates a new instance of the <see cref="SystemSettings"/> class.
 /// </summary>
 /// <param name="connectionString">A string containing the system settings as key-value pairs.</param>
 public SystemSettings(string connectionString)
 {
     ConnectionStringParser<SettingAttribute> parser = new ConnectionStringParser<SettingAttribute>();
     parser.ParseConnectionString(connectionString, this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the <see cref="FileShare"/> class.
 /// </summary>
 /// <param name="connectionString">A string containing the file share parameters as key-value pairs.</param>
 public FileShare(string connectionString)
 {
     ConnectionStringParser<SettingAttribute> parser = new ConnectionStringParser<SettingAttribute>();
     parser.ParseConnectionString(connectionString, this);
 }