18 lines
386 B
C#
18 lines
386 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace YieldChain.Commons
|
|
{
|
|
public class ServiceLocator
|
|
{
|
|
public static IServiceProvider Services { get; private set; }
|
|
public static void SetServices(IServiceProvider services)
|
|
{
|
|
Services = services;
|
|
}
|
|
}
|
|
}
|