Click or drag to resize

AskiaPortalCmn Namespace

Hold the most useful classes and interfaces
Classes
  ClassDescription
Public classApplicationFactory
Factory of AskiaPortal applications.
Public classAskiaPortalCmnApi

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.

Public classAskiaPortalInstanceFactory
Factory to manage AskiaPortal Instance and all related licenses.
Public classCode exampleContextFactory

Factory to create a new context of execution

A context of execution is almost require to instantiate all objects.
Consider the creation of context the entry point of the AskiaPortalCmn usage.

According to the AuthenticationType of the context, the API will be restricted.
For example, a context created for registration (ForRegistration) will only allow the creation of a new user and send to him email(s) to activate the user account.

Public classEmailFactory
Factory of AskiaPortal emails
Public classCode exampleEvents
Represent an AskiaPortal log
Public classCode exampleEventsFilters
Class represents the selective criteria to be used to find the log(s) in the database.
There is a method Find which takes an IContext and a List of EventFilters as arguments, and it returns a List of all found logs, in a LogPoco format.
The number of arguments is not limited as well as a number of the returned logs.
Public classGroupFactory
Factory of AskiaPortal group of users
Public classInvalidItemFactory
Factory of AskiaPortal invalid items.
Public classLanguageFactory
Factory of AskiaPortal languages
Public classMatchItem
Specify a condition used to filter the incoming messages (Key: "entity", ExpectedValue: "survey")
Public classMessageQueueFactory
Factory of Message Queue.
Public classModuleFactory
Factory of AskiaPortal modules
Public classReturnValue
Standard return value for methods which provide exception information.
Public classReturnValueT
Generic version of the IReturnValue.
Public classServerFactory
Factory of servers.
Public classShareFactory
Factory of AskiaPortal shares
Public classCode exampleShareQueryFilter
Filters to query the list of shares.
Public classSurveyFactory
Factory of AskiaPortal surveys.
Public classTranslatorFactory
Factory of AskiaPortal translator
Public classUserFactory
Factory of AskiaPortal users
Public classUserProfileFactory
Factory of AskiaPortal user profiles.
Public classUserTokenFactory
Factory of AskiaPortal user tokens.
Interfaces
  InterfaceDescription
Public interfaceIApplication
Manage an AskiaPortal application.
Public interfaceIApplicationBase
Base interface of application.
Public interfaceIAskiaPortalInstance
AskiaPortal instance information.
Public interfaceIAskiaPortalInstanceData
AskiaPortal instance data.
Public interfaceIContext

Provide the context of execution.

Public interfaceICurrentLicensesUsage
Manage the current licenses usage (current month).
Public interfaceIEmail
Manage an AskiaPortal email
Public interfaceIEmailBase
Base interface of email.
Public interfaceIEmailTranslation
Email message for a specific language
Public interfaceIEmailTranslationBase
Base interface of email translation.
Public interfaceIEmailTranslations
Manage all translations of an email
Public interfaceIGroup
Manage an AskiaPortal group of users
Public interfaceIGroupBase
Base interface of group
Public interfaceILanguage
Manage an AskiaPortal language
Public interfaceILanguageBase
Base interface of language.
Public interfaceILicense
License data.
Public interfaceILicensesUsage
Provide the licenses usage information.
Public interfaceILicensesUsagePerMonth
Provide the licenses usage information for a month.
Public interfaceILog
Represent a log entry.
Public interfaceILogger
Manage the writing of different types (system or activity) of logs.
Public interfaceCode exampleIManagedGroups
Accessor to the list of groups managed by the user
Public interfaceIMessageContainer
Container of the message within the queue.
Public interfaceIMessageQueue
Interface that is used for message sending and receiving from a message broker.
Public interfaceIMessageQueueFilter
Specify some filters used by the message broker in the message routing
Public interfaceIModule
Manage an AskiaPortal module
Public interfaceIReturnValue
Standard return value for methods which provide exception information.
Public interfaceIReturnValueT
Generic version of the IReturnValue.
Public interfaceIServer
Manage an server application.
Public interfaceIServerBase
Base interface of server.
Public interfaceIShare
Manage an AskiaPortal share
Public interfaceIShareRule
Represent a calculate share rule.
Public interfaceISurvey
Manage an AskiaPortal survey.
Public interfaceISurveyBase
Base interface of survey.
Public interfaceISurveyServerMapItem
Manage a map item between a survey and a server.
Public interfaceITranslation
Translation accessible through ITranslator.
Public interfaceITranslator
Translator of a specified language
Public interfaceIUser
Manage an AskiaPortal user
Public interfaceIUserBase
Base interface of user.
Public interfaceIUserProfile
Manage a user profile.
Public interfaceIUserProfileBase
Base interface of user profile.
Public interfaceCode exampleIUserResource
Manage a user resource.
Public interfaceIUserToken
Manage a user token.
Public interfaceIUserTokenBase
Base interface of user token.
Enumerations
  EnumerationDescription
Public enumerationAccessLevel
Possible level of permission accessibility.
Public enumerationAccessTo
Possible `AskiaPortal` access permissions.
Public enumerationAuthenticationType
Type of authentication.
Public enumerationConnectionStringType
Possible type of connection string.
Public enumerationContactType
Possible type of contact.
Public enumerationEncryptedKeyAction
Encrypted key to perform certain action.
Public enumerationEventLevel
Enumerates all event levels
Public enumerationEventType
Enumerates all the event types.
Public enumerationInvalidItemKey
Possible `AskiaPortal` invalid items.
Public enumerationLicenseType
Enumerates the type of the licenses
Public enumerationMatchItemKeys
Public enumerationModuleCategory
Enumerates all possible modules category
Public enumerationModuleState
Possible states of a module
Public enumerationModuleUrlTo
Possible URLs of a module
Public enumerationPermissionTo
Possible `AskiaPortal` boolean permissions.
Public enumerationResourceFormat
Resource format
Public enumerationShareObjectType
Possible `AskiaPortal` shareable object type.
Public enumerationSurveyState
Possible states of a survey
Public enumerationUserState
Possible states of a user account.