-- 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.IServiceProvider.Ref is access;
with type MSSyst.Object.Ref is access;
with MSSyst.ComponentModel.LicenseUsageMode;
with type MSSyst.String.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.Reflection.Assembly.Ref is access;
with MSSyst.Object;
package MSSyst.ComponentModel.LicenseContext 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_IServiceProvider : MSSyst.IServiceProvider.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_LicenseContext(
      This : Ref := null) return Ref;
   function get_UsageMode(
      This : access Typ) return MSSyst.ComponentModel.LicenseUsageMode.Valuetype;
   function GetSavedLicenseKey(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref;
      resourceAssembly : MSSyst.Reflection.Assembly.Ref) return MSSyst.String.Ref;
   function GetService(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref) return MSSyst.Object.Ref;
   procedure SetSavedLicenseKey(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref;
      key : MSSyst.String.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_LicenseContext);
   pragma Import(MSIL,get_UsageMode,"get_UsageMode");
   pragma Import(MSIL,GetSavedLicenseKey,"GetSavedLicenseKey");
   pragma Import(MSIL,GetService,"GetService");
   pragma Import(MSIL,SetSavedLicenseKey,"SetSavedLicenseKey");
end MSSyst.ComponentModel.LicenseContext;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.ComponentModel.LicenseContext,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.ComponentModel.LicenseContext");
