StringConst
Represents string constant as generic parameter.
namespace DotNext.Generic
{
public abstract class StringConst : Constant<string>
{
public sealed class Null : StringConst
{
public const string Value = null;
public Null()
: base(null)
{
}
}
public sealed class Empty : StringConst
{
public const string Value = "";
public Empty()
: base("")
{
}
}
protected StringConst(string value)
: base(value)
{
}
}
}