client-dotnet/build/Configuration.cs
Peter Kurfer 310428d307
Improve build process
- enable CI
- add Nuke
- fix tests path
- add DropMode for TypedReader
2021-02-16 09:36:04 +01:00

16 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;
}
}