Click or drag to resize

AskiaPortalCmnApi Class

Entry point of the current API.

Define and get information about the application context.
It indicates in which context the AskiaPortalCmn API is currently running.

Inheritance Hierarchy
SystemObject
  AskiaPortalCmnAskiaPortalCmnApi

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
public static class AskiaPortalCmnApi

The AskiaPortalCmnApi type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCurrentModule
Gets the module currently using the API
Public propertyStatic memberCurrentModuleGuid Obsolete.
Gets the GUID of the module currently using the current API
Public propertyStatic memberCurrentModuleVersion Obsolete.
Gets the version of the module currently using the current API
Public propertyStatic memberCurrentProgramName
Gets the name of the program that is currently using the API
Top
Methods
  NameDescription
Public methodStatic memberCode exampleInitializeModule
Indicates which module is currently using the API.
Public methodStatic memberRegisterInitEvent
Register on init event
Public methodStatic memberValidate
Indicates if the API application context is valid.
Check if the current module has been initialized.
Public methodStatic memberValidateAndThrow
Same method than Validate, but throw the exception if the API application context is not valid.
Top
Events
  NameDescription
Public eventStatic memberCode exampleOnSetup
Event raise when the module must be registered or updated according to the current assembly version.
Top
Fields
  NameDescription
Public fieldStatic memberMinimalCompatibleDatabaseVersion
Minimal version of the database compatible with the current API.
Top
Remarks

This is the entry-point of the application.

API developers must call the method InitializeModule(Guid, Version, String, Boolean) before using the rest of the API.

See Also