29 lines
471 B
C#
29 lines
471 B
C#
using MAX.Core.DependencyInjection;
|
|
using MAX.Core.Interfaces;
|
|
|
|
namespace Store.Shops
|
|
{
|
|
public class Startup : IStartup
|
|
{
|
|
public int Priority => IntPriority.Normal;
|
|
|
|
public void Initialize()
|
|
{
|
|
|
|
}
|
|
|
|
public void Register(IServiceRegistrar registrar)
|
|
{
|
|
registrar.RegisterSingleton(new Services.PddTokenClient(new HttpClient
|
|
{
|
|
Timeout = TimeSpan.FromSeconds(30)
|
|
}));
|
|
}
|
|
|
|
public void Start(IServiceProvider serviceProvider)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|