예제 #1
0
 /// <summary>
 /// Creates a new instance of <see cref="FrontDesk"/>.
 /// </summary>
 /// <param name="paths">Type: <see cref="IEnumerable{String}"/><para>The optional collection of paths/assemblies to use when loading plugin assemblies.</para></param>
 /// <param name="assemblies">Type: <see cref="IEnumerable{Assembly}"/><para>The optional collection of loaded assemblies that should also be scanned for potential plugins.</para></param>
 public FrontDesk(IEnumerable <string> paths = null, IEnumerable <Assembly> assemblies = null)
 {
     _Handler = new PluginHandler <IClerk, IPluginData>(paths, assemblies);
 }
예제 #2
0
 /// <summary>
 /// Creates a new instance of <see cref="Dispatch"/>.
 /// </summary>
 /// <param name="paths">Type: <see cref="IEnumerable{String}"/><para>The optional collection of paths/assemblies to use when loading plugin assemblies.</para></param>
 /// <param name="assemblies">Type: <see cref="IEnumerable{Assembly}"/><para>The optional collection of loaded assemblies that should also be scanned for potential plugins.</para></param>
 public Dispatch(IEnumerable <string> paths = null, IEnumerable <Assembly> assemblies = null)
 {
     _Handler = new PluginHandler <IAmbassador, IPluginData>(paths, assemblies);
 }