mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 02:49:05 -07:00
07cc4be6a7
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
27 lines
502 B
C#
27 lines
502 B
C#
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
|
|
namespace Emby.Dlna.Common
|
|
{
|
|
public class StateVariable
|
|
{
|
|
public StateVariable()
|
|
{
|
|
AllowedValues = Array.Empty<string>();
|
|
}
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string DataType { get; set; }
|
|
|
|
public bool SendsEvents { get; set; }
|
|
|
|
public string[] AllowedValues { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public override string ToString()
|
|
=> Name;
|
|
}
|
|
}
|