.Net: Running code when assembly is loaded

后端 未结 6 505
不思量自难忘°
不思量自难忘° 2020-11-27 05:02

Is it possible to run some code when an assembly is loaded, without doing anything specific in the loading code? What I am looking for is like a static constructor on a type

6条回答
提交回复
热议问题