mirror of
https://github.com/ZetaKebab/MpcNET.git
synced 2025-07-01 00:37:37 +00:00
20 lines
823 B
C#
20 lines
823 B
C#
// --------------------------------------------------------------------------------------------------------------------
|
|
// <copyright file="StopCommand.cs" company="MpcNET">
|
|
// Copyright (c) MpcNET. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
// </copyright>
|
|
// --------------------------------------------------------------------------------------------------------------------
|
|
namespace MpcNET.Commands.Playback
|
|
{
|
|
using System.Collections.Generic;
|
|
|
|
internal class StopCommand : IMpcCommand<string>
|
|
{
|
|
public string Serialize() => string.Join(" ", "stop");
|
|
|
|
public string Deserialize(IReadOnlyList<KeyValuePair<string, string>> response)
|
|
{
|
|
return string.Join(", ", response);
|
|
}
|
|
}
|
|
} |