C# Class GeoCache.Common.LicenseManager.LicenseInitializer

License manager
Afficher le fichier Open project: OliveiraThales/GeoCache Class Usage Examples

Méthodes publiques

Méthode Description
AddExtensions ( ) : bool

Set the extension(s) to be checked out for your ArcObjects code.

InitializeApplication ( esriLicenseProductCode productCodes, esriLicenseExtensionCode extensionLics ) : bool

Initialize application license

IsExtensionCheckedOut ( esriLicenseExtensionCode code ) : bool

Indicates if the extension is currently checked out.

LicenseMessage ( ) : string

A summary of the status of product and extensions initialization.

RemoveExtensions ( ) : void

Check in extension(s) when it is no longer needed.

ShutdownApplication ( ) : void

Shuts down AoInitialize object and check back in extensions to ensure any ESRI libraries that have been used are unloaded in the correct order.

Once Shutdown has been called, you cannot re-initialize the product license and should not make any ArcObjects call.

Private Methods

Méthode Description
CheckOutLicenses ( esriLicenseProductCode currentProduct ) : bool

Checkout licenses

Initialize ( ) : bool

Initilize

ReportInformation ( ILicenseInformation licInfo, esriLicenseExtensionCode code, esriLicenseStatus status ) : string

Get license information

ReportInformation ( ILicenseInformation licInfo, esriLicenseProductCode code, esriLicenseStatus status ) : string

Get license information

Method Details

AddExtensions() public méthode

Set the extension(s) to be checked out for your ArcObjects code.
public AddExtensions ( ) : bool
Résultat bool

InitializeApplication() public méthode

Initialize application license
public InitializeApplication ( esriLicenseProductCode productCodes, esriLicenseExtensionCode extensionLics ) : bool
productCodes esriLicenseProductCode Products codes
extensionLics esriLicenseExtensionCode Extensions codes.
Résultat bool

IsExtensionCheckedOut() public méthode

Indicates if the extension is currently checked out.
public IsExtensionCheckedOut ( esriLicenseExtensionCode code ) : bool
code esriLicenseExtensionCode /// The code. ///
Résultat bool

LicenseMessage() public méthode

A summary of the status of product and extensions initialization.
public LicenseMessage ( ) : string
Résultat string

RemoveExtensions() public méthode

Check in extension(s) when it is no longer needed.
public RemoveExtensions ( ) : void
Résultat void

ShutdownApplication() public méthode

Shuts down AoInitialize object and check back in extensions to ensure any ESRI libraries that have been used are unloaded in the correct order.
Once Shutdown has been called, you cannot re-initialize the product license and should not make any ArcObjects call.
public ShutdownApplication ( ) : void
Résultat void