public static void RegisterAssemblyFile(this IComponentContext context, string path) { var assembly = Assembly.LoadFile(path); context.RegisterAssembly(assembly); }
public static void RegisterAssembly(this IComponentContext context, string name) { var assembly = Assembly.Load(name); context.RegisterAssembly(assembly); }