常見例句雙語例句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.這種實例化涉及到要調(diào)用的類的默認構造函數(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ù),則可以編寫一條規(guī)則,以確保程序 集的每個類上都具有一個構造函數(shù)。shy818818.blog.163.com 返回 default constructor