Add foundation
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public class ProxyServiceCollection<T> :
|
||||
IProxyServiceCollection<T>
|
||||
{
|
||||
public ProxyServiceCollection(Action<IServiceCollection> configureDelegate)
|
||||
{
|
||||
Services = new ServiceCollection();
|
||||
configureDelegate.Invoke(Services);
|
||||
}
|
||||
|
||||
public IServiceCollection Services { get; private set; }
|
||||
}
|
||||
Reference in New Issue
Block a user