private FusionHelper InitializeFusionHelper() { // Can effectively just return the current assembly / gallio assemblies / system var helper = new FusionHelper(() => m_Assemblies.Keys.ToArray <string>()); helper.AssemblyLoader = (assemblyPath) => { return(m_Assemblies[assemblyPath]); }; return(helper); }
// Private method used to run the FusionHelper.LoadAssembly method private static Assembly ExecuteLoadAssembly(FusionHelper helper, string assemblyName) { return(helper.LocateAssemblyOnAssemblyLoadFailure(null, new ResolveEventArgs(assemblyName))); }