コード例 #1
0
 /// <summary>
 /// Adds a setting to the group.
 /// </summary>
 /// <param name="name">The name of the setting.</param>
 /// <param name="value">The values of the setting.</param>
 public void AddSetting(string name, params int[] values)
 {
     Setting setting = new Setting(name);
     setting.SetValue(values);
     Settings.Add(name, setting);
 }
コード例 #2
0
 /// <summary>
 /// Adds a setting to the group.
 /// </summary>
 /// <param name="name">The name of the setting.</param>
 /// <param name="value">The value of the setting.</param>
 public void AddSetting(string name, string value)
 {
     Setting setting = new Setting(name);
     setting.SetValue(value);
     Settings.Add(name, setting);
 }