-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.Runtime.InteropServices.uAttribute.Ref is access;
with type MSSyst.Security.IPermission.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Security.Permissions.SecurityAction;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Security.Permissions.CodeAccessSecurityAttribute;
package MSSyst.Net.WebPermissionAttribute is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_uAttribute : MSSyst.Runtime.InteropServices.uAttribute.Ref
      ) is new MSSyst.Security.Permissions.CodeAccessSecurityAttribute.Typ(
         I_uAttribute => I_uAttribute
      ) with record
      null;
   end record;
   function new_WebPermissionAttribute(
      This : Ref := null;
      action : MSSyst.Security.Permissions.SecurityAction.Valuetype) return Ref;
   function CreatePermission(
      This : access Typ) return MSSyst.Security.IPermission.Ref;
   function get_Accept(
      This : access Typ) return MSSyst.String.Ref;
   function get_AcceptPattern(
      This : access Typ) return MSSyst.String.Ref;
   function get_Connect(
      This : access Typ) return MSSyst.String.Ref;
   function get_ConnectPattern(
      This : access Typ) return MSSyst.String.Ref;
   procedure set_Accept(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_AcceptPattern(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Connect(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_ConnectPattern(
      This : access Typ;
      value : MSSyst.String.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_WebPermissionAttribute);
   pragma Import(MSIL,CreatePermission,"CreatePermission");
   pragma Import(MSIL,get_Accept,"get_Accept");
   pragma Import(MSIL,get_AcceptPattern,"get_AcceptPattern");
   pragma Import(MSIL,get_Connect,"get_Connect");
   pragma Import(MSIL,get_ConnectPattern,"get_ConnectPattern");
   pragma Import(MSIL,set_Accept,"set_Accept");
   pragma Import(MSIL,set_AcceptPattern,"set_AcceptPattern");
   pragma Import(MSIL,set_Connect,"set_Connect");
   pragma Import(MSIL,set_ConnectPattern,"set_ConnectPattern");
end MSSyst.Net.WebPermissionAttribute;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.WebPermissionAttribute,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.Net.WebPermissionAttribute");
