18 lines
431 B
C#
18 lines
431 B
C#
|
|
using System.Collections.ObjectModel;
|
||
|
|
using IdentityShroud.PluginSupport;
|
||
|
|
|
||
|
|
namespace IdentityShroud.Core.Plugins;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Note
|
||
|
|
/// </summary>
|
||
|
|
/// <typeparam name="TPlugin"></typeparam>
|
||
|
|
public class PluginRegistry<TPlugin> where TPlugin : IPlugin
|
||
|
|
{
|
||
|
|
private ReadOnlyDictionary<string, TPlugin> _plugins;
|
||
|
|
|
||
|
|
public PluginRegistry(ReadOnlyDictionary<string, TPlugin> plugins)
|
||
|
|
{
|
||
|
|
_plugins = plugins;
|
||
|
|
}
|
||
|
|
}
|