mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 13:57:14 -04:00
* 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;
|
|
}
|
|
}
|