Exemplo n.º 1
0
 /// <summary>
 /// Creates new instance of application settings query command for set application
 /// settings request. 
 /// </summary>
 /// <param name="settings"></param>
 /// <remarks>This method takes snapshot of current application settings state. Any further changes on settings will not be noticed.</remarks>
 public AppSettingsQueryCommand(ApplicationSettings settings)
     : base(SetActionName, CommandType.Action)
 {
     var list = new List<KeyValuePair<string, string>>();
     foreach (var o in settings.Changeset)
     {
         list.Add(new KeyValuePair<string, string>("s", o.Key));
         list.Add(new KeyValuePair<string, string>("v", GetValue(o.Value)));
     }
     Parameters = list;
 }
Exemplo n.º 2
0
 protected internal WebuiSettings(ApplicationSettings parent)
     : base(parent)
 {
 }
Exemplo n.º 3
0
 protected internal BitTorrentSettings(ApplicationSettings parent)
     : base(parent)
 {
 }
Exemplo n.º 4
0
 protected internal ProxySettings(ApplicationSettings parent)
     : base(parent)
 {
 }