1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-29 11:25:26 +00:00
Radarr/NzbDrone.Common/EnsureThat/Param.cs

24 lines
No EOL
437 B
C#

namespace NzbDrone.Common.EnsureThat
{
public abstract class Param
{
public const string DefaultName = "";
public readonly string Name;
protected Param(string name)
{
Name = name;
}
}
public class Param<T> : Param
{
public readonly T Value;
internal Param(string name, T value) : base(name)
{
Value = value;
}
}
}