C# Class ClosestFacilitySolver.LicenseInitializer

Datei anzeigen Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Public Methods

Method Description
AddExtensions ( ) : bool

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

InitializeApplication ( esriLicenseProductCode productCodes, esriLicenseExtensionCode extensionLics ) : bool
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

Method Description
CheckOutLicenses ( esriLicenseProductCode currentProduct ) : bool
Initialize ( ) : bool
ReportInformation ( ILicenseInformation licInfo, esriLicenseExtensionCode code, esriLicenseStatus status ) : string
ReportInformation ( ILicenseInformation licInfo, esriLicenseProductCode code, esriLicenseStatus status ) : string

Method Details

AddExtensions() public method

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

InitializeApplication() public method

public InitializeApplication ( esriLicenseProductCode productCodes, esriLicenseExtensionCode extensionLics ) : bool
productCodes esriLicenseProductCode
extensionLics esriLicenseExtensionCode
return bool

IsExtensionCheckedOut() public method

Indicates if the extension is currently checked out.
public IsExtensionCheckedOut ( esriLicenseExtensionCode code ) : bool
code esriLicenseExtensionCode
return bool

LicenseMessage() public method

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

RemoveExtensions() public method

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

ShutdownApplication() public method

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
return void