Exemple #1
0
 public Task ChangeGlobalOption(Aria2Option option, string value)
 => ChangeGlobalOptions(new Aria2Options {
     [option] = value
 });
Exemple #2
0
 public async Task <string> GetGlobalOption(Aria2Option option) => (await GetGlobalOptions())[option];
Exemple #3
0
 public Task ChangeOption(string gid, Aria2Option option, string value)
 => ChangeOptions(gid, new Aria2Options {
     [option] = value
 });
Exemple #4
0
 public async Task <string> GetOption(string gid, Aria2Option option) => (await GetOptions(gid))[option];