开发者

Does Assembly.Load also load its references?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜