Selector/Selector.Cache/Key.cs

16 lines
398 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Text;
namespace Selector.Cache
{
public class Key
{
public const string CurrentlyPlayingName = "CurrentlyPlaying";
public static string CurrentlyPlaying(string user) => Namespace(new[] { user, CurrentlyPlayingName });
public static string Namespace(string[] args) => string.Join(":", args);
}
}