feat(engine): add NestingEngineRegistry for whole-job INestingEngine plugin discovery
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace OpenNest;
|
||||
|
||||
/// <summary>Display metadata plus a fresh-instance factory for one registered whole-job engine.</summary>
|
||||
public class NestingEngineInfo
|
||||
{
|
||||
public NestingEngineInfo(string name, string description, Func<INestingEngine> factory)
|
||||
{
|
||||
Name = name;
|
||||
Description = description;
|
||||
Factory = factory;
|
||||
}
|
||||
|
||||
public string Name { get; }
|
||||
public string Description { get; }
|
||||
public Func<INestingEngine> Factory { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user