You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
437 B
24 lines
437 B
12 years ago
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|