System.SecurityUtils.SecureCreateInstance C# (CSharp) Method

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