Click or drag to resize
Askia

IControl Interface

Control interface

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public interface IControl : IRecordEntity

The IControl type exposes the following members.

Properties
  NameDescription
Public propertyConfig
Configuration of the control
Public propertyCreatedAt
DateTime the record was created at
(Inherited from IRecordEntity.)
Public propertyCreatedBy
Id of the user which created the record
(Inherited from IRecordEntity.)
Public propertyData
Data contained within the file
Public propertyDeletedAt
DateTime at which the record was last deleted
(Inherited from IRecordEntity.)
Public propertyDeletedBy
Id of the user which last deleted the record
(Inherited from IRecordEntity.)
Public propertyId
Id of the record
(Inherited from IRecordEntity.)
Public propertyLastError
Last error that occurred
(Inherited from IRecordEntity.)
Public propertyName
Name of the control
Public propertyUpdatedAt
DateTime at which the record was last updated
(Inherited from IRecordEntity.)
Public propertyUpdatedBy
Id of the user which last updated the record
(Inherited from IRecordEntity.)
Top
Methods
  NameDescription
Public methodDelete
Deletes the record in the database
(Inherited from IRecordEntity.)
Public methodIsDeleted
Indicates if the record is flagged as deleted
(Inherited from IRecordEntity.)
Public methodIsLoaded
Checks if the record is successfully loaded from the database
(Inherited from IRecordEntity.)
Public methodLoadFromDirectory
Loads the control from a directory
Public methodLoadFromFileAndExtract
Loads the control from a file and extract its content to a directory
Public methodLoadFromMemoryAndExtract
Loads the control from memory and extracts its content to a directory
Public methodReload
Reloads the record
(Inherited from IRecordEntity.)
Public methodRenderForQuestion
Renders the control for a given question of a given survey interview
Public methodRestore
Restores the deleted record in the database
(Inherited from IRecordEntity.)
Public methodSave
Saves the record in the database
(Inherited from IRecordEntity.)
Top
See Also