开发者

Does Assembly.Load also load its references?

开发者 https://www.devze.com 2022-12-19 18:34 出处:网络
Assembly assembly = Assembly.Load(\"MyAssembly\"开发者_高级运维); Will the above also load all the references/dependencies \"MyAssembly\" needs ?No; references and types are loaded on-demand as they
Assembly assembly = Assembly.Load("MyAssembly"开发者_高级运维);

Will the above also load all the references/dependencies "MyAssembly" needs ?


No; references and types are loaded on-demand as they're required. The specific rules used for locating an assembly can be found here.

0

精彩评论

暂无评论...
验证码 换一张
取 消