开发者

Is there OnLoad event for C# libraries?

开发者 https://www.devze.com 2023-01-01 07:48 出处:网络
I want to initialize my C# library as it loads by another process, is it possible开发者_StackOverflow中文版 and if so - how?No.

I want to initialize my C# library as it loads by another process, is it possible开发者_StackOverflow中文版 and if so - how?


No.

Instead, you can add a static constructor to your class, which will execute the first time that the class is used.

0

精彩评论

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