register all from my assembly
This commit is contained in:
@@ -50,7 +50,12 @@ namespace Pilz.Plugins.Advanced
|
||||
Modules = new(this);
|
||||
}
|
||||
|
||||
public void RegisterAll(Assembly assembly)
|
||||
public void RegisterAllFromMyAssembly()
|
||||
{
|
||||
RegisterAllFromAssembly(Assembly.GetCallingAssembly());
|
||||
}
|
||||
|
||||
public void RegisterAllFromAssembly(Assembly assembly)
|
||||
{
|
||||
const string nameGetFeatures = $"{nameof(IPluginFeaturesProvider.GetFeatures)}";
|
||||
const string nameGetFeaturesExplicit = $"{nameof(IPluginFeaturesProvider)}.{nameof(IPluginFeaturesProvider.GetFeatures)}";
|
||||
|
||||
Reference in New Issue
Block a user