pull/1/head
Ogoun 5 years ago
parent 0711da45b3
commit effaa70f4d

@ -1,10 +1,11 @@
using System; using System;
using System.Collections.Generic;
using ZeroLevel; using ZeroLevel;
namespace ConfigurationTests namespace ConfigurationTests
{ {
class Program class Program
{ {
static void Main(string[] args) static void Main(string[] args)
{ {
var config = Configuration.ReadSetFromIniFile("config.ini").Bind<AppConfig>(); var config = Configuration.ReadSetFromIniFile("config.ini").Bind<AppConfig>();
@ -27,7 +28,7 @@ namespace ConfigurationTests
Console.WriteLine($"\tAppName: {config.Service.AppName}"); Console.WriteLine($"\tAppName: {config.Service.AppName}");
Console.WriteLine($"\tServiceGroup: {config.Service.ServiceGroup}"); Console.WriteLine($"\tServiceGroup: {config.Service.ServiceGroup}");
Console.WriteLine($"\tServiceType: {config.Service.ServiceType}"); Console.WriteLine($"\tServiceType: {config.Service.ServiceType}");
Console.ReadKey(); Console.ReadKey();
} }
} }

@ -6,7 +6,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" /> <PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Topshelf" Version="4.2.1" /> <PackageReference Include="Topshelf" Version="4.2.1" />
</ItemGroup> </ItemGroup>

@ -14,8 +14,8 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="System.Data.Common" Version="4.3.0" /> <PackageReference Include="System.Data.Common" Version="4.3.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.7.0" /> <PackageReference Include="System.Data.SqlClient" Version="4.8.0" />
<PackageReference Include="System.Security.Permissions" Version="4.6.0" /> <PackageReference Include="System.Security.Permissions" Version="4.7.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

@ -7,7 +7,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="xunit" Version="2.4.1" /> <PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1"> <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>

@ -6,16 +6,16 @@
</Description> </Description>
<Authors>ogoun</Authors> <Authors>ogoun</Authors>
<Company>ogoun</Company> <Company>ogoun</Company>
<AssemblyVersion>3.1.6.0</AssemblyVersion> <AssemblyVersion>3.1.7.0</AssemblyVersion>
<PackageReleaseNotes>Fixes</PackageReleaseNotes> <PackageReleaseNotes>Fixes</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/ogoun/Zero/wiki</PackageProjectUrl> <PackageProjectUrl>https://github.com/ogoun/Zero/wiki</PackageProjectUrl>
<Copyright>Copyright Ogoun 2019</Copyright> <Copyright>Copyright Ogoun 2019</Copyright>
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl> <PackageLicenseUrl></PackageLicenseUrl>
<PackageIconUrl>https://raw.githubusercontent.com/ogoun/Zero/master/zero.png</PackageIconUrl> <PackageIconUrl>https://raw.githubusercontent.com/ogoun/Zero/master/zero.png</PackageIconUrl>
<RepositoryUrl>https://github.com/ogoun/Zero</RepositoryUrl> <RepositoryUrl>https://github.com/ogoun/Zero</RepositoryUrl>
<RepositoryType>GitHub</RepositoryType> <RepositoryType>GitHub</RepositoryType>
<Version>3.1.6</Version> <Version>3.1.7</Version>
<FileVersion>3.1.6.0</FileVersion> <FileVersion>3.1.7.0</FileVersion>
<Platforms>AnyCPU;x64</Platforms> <Platforms>AnyCPU;x64</Platforms>
</PropertyGroup> </PropertyGroup>

Loading…
Cancel
Save

Powered by TurnKey Linux.