--------------------------------------------------------------------------------
-- <auto-generated>                                                           --
--     This code was generated by a tool.                                     --
--                                                                            --
--     Changes to this file may cause incorrect behavior and will be lost if  --
--     the code is regenerated.                                               --
-- </auto-generated>                                                          --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                                                                            --
--    Copyright(c) 2019 Alexander Gamper, All Rights Reserved.                --
--                                                                            --
--    Ada-NetFramework                                                        --
--    Version   : 1.0.0.0                                                     --
--                                                                            --
-- This program is free software: you can redistribute it and / or modify     --
-- it under the terms of the GNU Lesser General Public License as published by--
-- the Free Software Foundation, either version 3 of the License, or          --
-- (at your option) any later version.                                        --
--                                                                            --
-- This program is distributed in the hope that it will be useful,            --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of             --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the               --
-- GNU Lesser General Public License for more details.                        --
--                                                                            --
-- You should have received a copy of the GNU Lesser General Public License   --
-- along with this program.If not, see http://www.gnu.org/licenses            --
--                                                                            --
--------------------------------------------------------------------------------
with NetFrameworkBase.System.Object;
limited with NetFrameworkBase.System.Array_x;
limited with NetFrameworkBase.System.Type_x;
limited with NetFrameworkBase.System.Security.IPermission;
limited with NetFrameworkBase.System.Security.SecurityElement;
limited with NetFrameworkBase.System.Security.Permissions.PermissionState;
limited with NetFrameworkBase.System.Collections.IEnumerator;
--------------------------------------------------------------------------------
package NetFrameworkBase.System.Security.PermissionSet is
   
   type Kind is new NetFrameworkBase.System.Object.Kind with null record;
   type Kind_Ptr is access all Kind;
   type Kind_Array is array(Natural range<>) of Kind_Ptr;
   type Kind_Array_Ptr is access all Kind_Array;
   
      procedure CopyTo
      (
         this : in out PermissionSet.Kind;
         array_x : NetFrameworkBase.System.Array_x.Kind_Ptr; 
         index : NetFrameworkBase.Int32
      );
      
      function SyncRoot
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.System.Object.Kind_Ptr;
      
      function IsSynchronized
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.Boolean;
      
      function IsReadOnly
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.Boolean;
      
      function IsEmpty
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.Boolean;
      
      function Count
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.Int32;
      
      function GetPermission
      (
         this : in out PermissionSet.Kind;
         permClass : NetFrameworkBase.System.Type_x.Kind_Ptr
      )
      return NetFrameworkBase.System.Security.IPermission.Kind_Ptr;
      
      function SetPermission
      (
         this : in out PermissionSet.Kind;
         perm : NetFrameworkBase.System.Security.IPermission.Kind_Ptr
      )
      return NetFrameworkBase.System.Security.IPermission.Kind_Ptr;
      
      function AddPermission
      (
         this : in out PermissionSet.Kind;
         perm : NetFrameworkBase.System.Security.IPermission.Kind_Ptr
      )
      return NetFrameworkBase.System.Security.IPermission.Kind_Ptr;
      
      function RemovePermission
      (
         this : in out PermissionSet.Kind;
         permClass : NetFrameworkBase.System.Type_x.Kind_Ptr
      )
      return NetFrameworkBase.System.Security.IPermission.Kind_Ptr;
      
      function IsUnrestricted
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.Boolean;
      
      function IsSubsetOf
      (
         this : in out PermissionSet.Kind;
         target : NetFrameworkBase.System.Security.PermissionSet.Kind_Ptr
      )
      return NetFrameworkBase.Boolean;
      
      function Equals
      (
         this : in out PermissionSet.Kind;
         obj : NetFrameworkBase.System.Object.Kind_Ptr
      )
      return NetFrameworkBase.Boolean;
      
      function GetHashCode
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.Int32;
      
      procedure Demand
      (
         this : in out PermissionSet.Kind
      );
      
      procedure Assert
      (
         this : in out PermissionSet.Kind
      );
      
      procedure Deny
      (
         this : in out PermissionSet.Kind
      );
      
      procedure PermitOnly
      (
         this : in out PermissionSet.Kind
      );
      
      function Copy
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.System.Security.PermissionSet.Kind_Ptr;
      
      function GetEnumerator
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.System.Collections.IEnumerator.Kind_Ptr;
      
      function ToString
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.BSTR;
      
      procedure FromXml
      (
         this : in out PermissionSet.Kind;
         et : NetFrameworkBase.System.Security.SecurityElement.Kind_Ptr
      );
      
      function ConvertPermissionSet
      (
         inFormat : NetFrameworkBase.BSTR; 
         inData : NetFrameworkBase.Byte_Array; 
         outFormat : NetFrameworkBase.BSTR
      )
      return NetFrameworkBase.Byte_Array;
      
      function ContainsNonCodeAccessPermissions
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.Boolean;
      
      procedure RevertAssert
      ;
      
      function Union
      (
         this : in out PermissionSet.Kind;
         other : NetFrameworkBase.System.Security.PermissionSet.Kind_Ptr
      )
      return NetFrameworkBase.System.Security.PermissionSet.Kind_Ptr;
      
      function ToXml
      (
         this : in out PermissionSet.Kind
      )
      return NetFrameworkBase.System.Security.SecurityElement.Kind_Ptr;
      
      function Intersect
      (
         this : in out PermissionSet.Kind;
         other : NetFrameworkBase.System.Security.PermissionSet.Kind_Ptr
      )
      return NetFrameworkBase.System.Security.PermissionSet.Kind_Ptr;
      
      function Constructor
      (
         state : NetFrameworkBase.System.Security.Permissions.PermissionState.Kind
      )
      return NetFrameworkBase.System.Security.PermissionSet.Kind_Ptr;
      
      function Constructor
      (
         permSet : NetFrameworkBase.System.Security.PermissionSet.Kind_Ptr
      )
      return NetFrameworkBase.System.Security.PermissionSet.Kind_Ptr;
      
end;
