1
0
mirror of https://github.com/ZetaKebab/MpcNET.git synced 2025-07-18 05:27:37 +00:00

Restructured commands

This commit is contained in:
Kim Hugener-Ohlsen
2018-09-04 19:45:21 +02:00
parent 1f59105d4e
commit 393df7ca9a
95 changed files with 4733 additions and 1045 deletions

View File

@ -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);
}