private constructors 中文意思是什麼
private constructors
解釋
局部構造函數- private : adj 1 私的,私人的,個人的,私用的,專用的。2 秘密的;保密的;非公開的;(信件等)親啟的。3 (財...
- constructors : 構造函數
-
Private constructors for each manager singleton
用於每一個單獨管理員的私有構建程序。 -
Private constructors are used to prevent the creation of instances of a class when there are no instance fields or methods, such as the
類)時或者當調用方法以獲得類的實例時,私有構造函數可用於阻止創建類的實例。 -
That is, private constructors, methods, fields, and properties can be accessed and invoked using reflection whenever the code is fully trusted
即,只要代碼完全受信任,就可以使用反射來訪問和調用私有構造函數、方法、欄位和屬性。 -
Access restrictions are ignored for fully trusted code ; that is, private constructors, methods, fields, and properties can be accessed and invoked through
對于完全受信任的代碼將忽略訪問限制;即,只要代碼是完全受信任的,就可以通過 -
Fully trusted code has the permissions that are needed to access and invoke private constructors, methods, fields, and properties using reflection
完全受信任的代碼具有使用反射來訪問和調用私有構造函數、方法、欄位和屬性( property )所需的權限。
分享友人