mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2025-07-18 05:27:37 +00:00
Restructured commands
This commit is contained in:
@ -29,12 +29,12 @@
|
||||
|
||||
private static async Task SendCommand(string command)
|
||||
{
|
||||
var response = await Mpc.SendAsync(_ => new PassthroughCommand(command));
|
||||
var response = await Mpc.SendAsync(new PassthroughCommand(command));
|
||||
TestOutput.WriteLine(response);
|
||||
}
|
||||
private static async Task SendCommand<T>(IMpcCommand<T> command)
|
||||
{
|
||||
var response = await Mpc.SendAsync(_ => command);
|
||||
var response = await Mpc.SendAsync(command);
|
||||
TestOutput.WriteLine(response);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user