コード例 #1
0
ファイル: AssemblyLoader.cs プロジェクト: DanielSmon/NSwag
 public AssemblyLoader()
 {
     Context = new CustomAssemblyLoadContext();
     AssemblyLoadContext.Default.Resolving += (context, name) => Context.Resolve(name);
 }
コード例 #2
0
 public AssemblyLoader()
 {
     Context = new CustomAssemblyLoadContext(); // TODO: Switch back to new CustomAssemblyLoadContext(); ?
 }