Add YamlConfigurations.cs

YmlDotNet library added
pull/461/head
Buddhika Chathuranga 2020-06-02 14:47:33 +05:30
parent fd38b41803
commit 24131906ac
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace winsw.Configuration
{
public class YamlConfiguration
{
readonly ServiceAccount? serviceAccount;
readonly BasicConfigs? basicConfigs;
}
public class ServiceAccount
{
public string name { get; set; }
public string domain { get; set; }
public string user { get; set; }
public string allowservicelogon { get; set; }
}
public class BasicConfigs
{
public string id { get; set; }
public string name { get; set; }
public string description { get; set; }
public string executable { get; set; }
}
}

View File

@ -11,6 +11,7 @@
<ItemGroup>
<PackageReference Include="log4net" Version="2.0.8" />
<PackageReference Include="YamlDotNet" Version="8.1.2" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">