using Microsoft.Extensions.DependencyInjection; using Pole.Core.Processor; using Pole.Sagas.Server.Processor; using System; using System.Collections.Generic; using System.Text; namespace Pole.Sagas.Server { public static class PoleSagasServerServiceCollectionExtensions { public static IServiceCollection AddPoleSagasServer(IServiceCollection services) { services.AddGrpc(); services.AddSingleton(); services.AddSingleton(); services.AddHostedService(); return services; } } }