Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
System
SecurityUtils
SecureCreateInstance
System.SecurityUtils.SecureCreateInstance C# (CSharp) Method
SecurityUtils Class Documentation
显示文件
Open project: dotnet/corefx
SecureCreateInstance()
static
private
method
This helper method provides safe access to Activator.CreateInstance. NOTE: This overload will work only with public .ctors.
static
private
SecureCreateInstance
(
Type
type
) :
object
type
Type
return
object
internal static object SecureCreateInstance(Type type) { return SecureCreateInstance(type, null); }
Same methods
SecurityUtils::
SecureCreateInstance
(
Type
type
,
object
args
) :
object
SecurityUtils
MethodInfoInvoke
SecureCreateInstance