27 lines
569 B
C#
27 lines
569 B
C#
using JiShe.CollectBus.Interfaces;
|
|
|
|
namespace JiShe.CollectBus.Protocol.Contracts.ProtocolPools
|
|
{
|
|
public class PluginContainer: IPluginContainer
|
|
{
|
|
public Dictionary<string, object> ProtocolPools;
|
|
|
|
public PluginContainer()
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
public static class ServiceProviderKeyedServiceExtensions
|
|
{
|
|
//public static Task AddKeyedSingleton<TImp>(this IServiceProvider provider, string key)
|
|
//{
|
|
// //var aa = Activator.CreateInstance<TImp>();
|
|
|
|
//}
|
|
}
|
|
}
|