forked from FarmMaps/FarmMapsApiClient
added vrapoten and changed some nbs stuff
This commit is contained in:
23
FarmmapsPoten/Program.cs
Normal file
23
FarmmapsPoten/Program.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Threading.Tasks;
|
||||
using FarmmapsApi;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace FarmmapsVRApoten
|
||||
{
|
||||
class Program : FarmmapsProgram<PotenApplication>
|
||||
{
|
||||
private static async Task Main(string[] args)
|
||||
{
|
||||
await new Program().Start(args);
|
||||
}
|
||||
|
||||
protected override void Configure(IServiceCollection serviceCollection)
|
||||
{
|
||||
serviceCollection.AddLogging(opts => opts
|
||||
.AddConsole()
|
||||
.AddFilter("System.Net.Http", LogLevel.Warning))
|
||||
.AddTransient<PotenService>();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user