C# Класс ArcGISCompare.LicenseInitializer

Initialize ArcObjects runtime environment for this application
Показать файл Открыть проект

Открытые методы

Метод Описание
AddExtensions ( ) : bool

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

BindingArcGISRuntime ( object sender, EventArgs e ) : void
InitializeApplication ( esriLicenseProductCode productCodes, esriLicenseExtensionCode extensionLics ) : bool

Initialize the application with the specified product and extension license code.

Make sure an active ArcGIS runtime has been bound before license initialization.

IsExtensionCheckedOut ( esriLicenseExtensionCode code ) : bool

Indicates if the extension is currently checked out.

LicenseInitializer ( ) : System
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.

Приватные методы

Метод Описание
CheckOutLicenses ( esriLicenseProductCode currentProduct ) : bool
Initialize ( ) : bool
ReportInformation ( ILicenseInformation licInfo, esriLicenseExtensionCode code, esriLicenseStatus status ) : string
ReportInformation ( ILicenseInformation licInfo, esriLicenseProductCode code, esriLicenseStatus status ) : string

Описание методов

AddExtensions() публичный Метод

Set the extension(s) to be checked out for your ArcObjects code.
public AddExtensions ( ) : bool
Результат bool

BindingArcGISRuntime() публичный Метод

public BindingArcGISRuntime ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

InitializeApplication() публичный Метод

Initialize the application with the specified product and extension license code.
Make sure an active ArcGIS runtime has been bound before license initialization.
public InitializeApplication ( esriLicenseProductCode productCodes, esriLicenseExtensionCode extensionLics ) : bool
productCodes esriLicenseProductCode
extensionLics esriLicenseExtensionCode
Результат bool

IsExtensionCheckedOut() публичный Метод

Indicates if the extension is currently checked out.
public IsExtensionCheckedOut ( esriLicenseExtensionCode code ) : bool
code esriLicenseExtensionCode
Результат bool

LicenseInitializer() публичный Метод

public LicenseInitializer ( ) : System
Результат System

LicenseMessage() публичный Метод

A summary of the status of product and extensions initialization.
public LicenseMessage ( ) : string
Результат string

RemoveExtensions() публичный Метод

Check in extension(s) when it is no longer needed.
public RemoveExtensions ( ) : void
Результат void

ShutdownApplication() публичный Метод

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
Результат void