System.Security.Permissions.PrincipalPermission.VerifyType C# (CSharp) Méthode

VerifyType() private méthode

private VerifyType ( IPermission perm ) : bool
perm IPermission
Résultat bool
        private bool VerifyType(IPermission perm)
        {
            // if perm is null, then obviously not of the same type
            return (perm != null) && (perm.GetType() == GetType());
        }