some polishing

This commit is contained in:
Rostislav 2019-01-21 07:00:45 +05:00
parent cc36c930ec
commit 62e102b421
3 changed files with 9 additions and 2 deletions

View file

@ -20,6 +20,7 @@
<PackageReference Include="Microsoft.Extensions.Http" Version="2.2.0" />
<PackageReference Include="VkNet" Version="1.41.0" />
<PackageReference Include="VkNet.NLog.Extensions.Logging" Version="1.3.1" />
<PackageReference Include="VkNet.TokenMagic" Version="1.0.0" />
</ItemGroup>
</Project>

View file

@ -8,15 +8,15 @@ using VkNet.Model.RequestParams;
using VkNet.NLog.Extensions.Logging;
using VkNet.NLog.Extensions.Logging.Extensions;
using VkNet.TokenMagic;
namespace Example
{
class Program
{
private static void Main(string[] args)
{
var services = new ServiceCollection();
services.AddVkTokenMagic();
services.AddTokenMagic();
services.AddSingleton<ILoggerFactory, LoggerFactory>();
services.AddSingleton(typeof(ILogger<>), typeof(Logger<>));
services.AddLogging(builder =>

View file

@ -2,6 +2,12 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Rast1234</Authors>
<PackageProjectUrl>https://github.com/Rast1234/VkNet.TokenMagic</PackageProjectUrl>
<RepositoryUrl>https://github.com/Rast1234/VkNet.TokenMagic</RepositoryUrl>
<Description>VkNet extension to authenticate as Android client app</Description>
<PackageTags>vk vknet token authentication auth audio permissions bypass</PackageTags>
</PropertyGroup>
<ItemGroup>