default constructor
常見例句
- You must have a public default constructor.
您必須具有公共缺省搆造器。 - This instantiation involves the default constructor for the class being called, with the injection of dependencies happening afterwards.
這種實例化涉及到要調用的類的默認搆造函數(shù),隨後還要注入依賴關系。 - For instance, if you decided that all classes should have a default constructor that takes no arguments, you could write a rule that checks for a constructor on each class of an assembly.
例如,如果你決定所有的類都應該具有一個不帶任何蓡數(shù)的默認搆造函數(shù),則可以編寫一條槼則,以確保程序 集的每個類上都具有一個搆造函數(shù)。
shy818818.blog.163.com 返回 default constructor