mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
upgraded to autofac 3. created nancy only mode for nzbdrone.exe /n
This commit is contained in:
parent
177f88303c
commit
b0940ed8de
77 changed files with 3930 additions and 113 deletions
24
NzbDrone.Common/EnsureThat/Param.cs
Normal file
24
NzbDrone.Common/EnsureThat/Param.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue