Méthode | Description | |
---|---|---|
HasAnyRestrictionsOf ( RequestAttributes allRestrictions, RequestAttributes restrictions ) : bool | ||
ToAllowedFlagsSet ( this restrictTo ) : RequestAttributes |
Converts from a User intended restriction to a flag with all the allowed attribute flags set, e.g: If No Network restrictions were specified all Network access types are allowed, e.g: restrict EndpointAttributes.None => ... 111 If a Network restriction was specified, only it will be allowed, e.g: restrict EndpointAttributes.LocalSubnet => ... 010 The returned Enum will have a flag with all the allowed attributes set
|
public static HasAnyRestrictionsOf ( RequestAttributes allRestrictions, RequestAttributes restrictions ) : bool | ||
allRestrictions | RequestAttributes | |
restrictions | RequestAttributes | |
Résultat | bool |
public static ToAllowedFlagsSet ( this restrictTo ) : RequestAttributes | ||
restrictTo | this | |
Résultat | RequestAttributes |