FarmMapsApiClient/FarmmapsNbs/Program.cs

21 lines
539 B
C#
Raw Permalink Normal View History

using System.Threading.Tasks;
using FarmmapsApi;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace FarmmapsNbs
{
class Program : FarmmapsProgram<NbsApplication>
{
private static async Task Main(string[] args)
{
await new Program().Start(args);
}
protected override void Configure(IServiceCollection serviceCollection)
{
2021-05-12 06:06:30 +00:00
serviceCollection.AddLogging()
.AddTransient<NitrogenService>();
}
}
}