mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
feat: Adds TSelector generic type to IHasSurroundSoundModes
This commit is contained in:
parent
a2e4c2fad6
commit
0f57799382
2 changed files with 7 additions and 5 deletions
|
|
@ -11,8 +11,10 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
|||
/// Describes a device that has selectable surround sound modes
|
||||
/// </summary>
|
||||
/// <typeparam name="TKey">the type to use as the key for each input item. Most likely an enum or string</typeparam>
|
||||
public interface IHasSurroundSoundModes<TKey>: IKeyName
|
||||
public interface IHasSurroundSoundModes<TKey, TSelector>: IKeyName
|
||||
{
|
||||
ISelectableItems<TKey> SurroundSoundModes { get; }
|
||||
|
||||
void SetSurroundSoundMode(TSelector selector);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue