示例#1
0
 public override void Plug()
 {
     Toolbox.Add <ProcessorConsole>().Setup(commandsDebug);
 }
示例#2
0
 /// <summary>
 /// <para>Adds an object to the toolbox by type. It is mainly used to add processing scripts.</para>
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 protected static T Add <T>() where T : new()
 {
     return(Toolbox.Add <T>());
 }