示例#1
0
 /// <summary>
 /// Carrega os dados das permissões.
 /// </summary>
 /// <param name="securityElement"></param>
 public void PermissionsFromXml(System.Security.SecurityElement securityElement)
 {
     securityElement.Require("securityElement").NotNull();
     _permissions = new System.Security.PermissionSet(System.Security.Permissions.PermissionState.None);
     _permissions.FromXml(securityElement);
 }