mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 13:32:33 +01:00
17 lines
484 B
C#
17 lines
484 B
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using Nuke.Common.Tooling;
|
|
|
|
[TypeConverter(typeof(TypeConverter<Configuration>))]
|
|
public class Configuration : Enumeration
|
|
{
|
|
public static Configuration Debug = new Configuration { Value = nameof(Debug) };
|
|
public static Configuration Release = new Configuration { Value = nameof(Release) };
|
|
|
|
public static implicit operator string(Configuration configuration)
|
|
{
|
|
return configuration.Value;
|
|
}
|
|
}
|