Repository Class |
public class Repository
The Repository type exposes the following members.
| Name | Description | |
|---|---|---|
| Repository | Initializes a new instance of the Repository class |
| Name | Description | |
|---|---|---|
| AIConfiguration | Current AI configuration (providers, tools, agents). Automatically reloaded if the configuration file is modified (no web server recycle required). | |
| AIConfigurationPath | AI Configuration file path | |
| AIPromptsFolder | Folder for AI system prompt files (Settings\AI\Prompts). | |
| AISamplePromptsFolder | Folder for AI sample prompts files (Settings\AI\Prompts\Samples). | |
| AIScriptsFolder | Folder for AI tool execution script files (Settings\AI\Scripts). | |
| AISkillsFolder | Folder for AI skill instruction files (Settings\AI\Skills). | |
| AssembliesFolder | Assemblies folder | |
| Configuration | Current configuration | |
| ConfigurationPath | Configuration file path | |
| CultureInfo | Default CultureInfo | |
| DefaultRepository | ||
| Devices | List of OutputDevice in the repository | |
| DevicesEmailFolder | Devices Email folder | |
| DevicesFileServerFolder | Devices File Server folder | |
| DevicesFolder | Devices folder | |
| DevicesSharePointFolder | Devices SharePoint folder | |
| DynamicsFolder | Dynamic assemblies folder: holds the source .cs files (shared by all runtimes). Compiled assemblies go to the Net/Win sub-folders. | |
| DynamicsNetFolder | Dynamic assemblies folder for the .NET (non-Windows) runtime: holds the compiled assemblies. | |
| DynamicsWinFolder | Dynamic assemblies folder for Windows applications: holds the compiled assemblies. | |
| FlatpickrShortDateFormat | Short Date format for the Flatpickr date/time picker | |
| FlatpickrShortDateTimeFormat | Short Date Time format for the Flatpickr date/time picker | |
| Instance | A general static instance of the repository | |
| IsInstanceCreated | ||
| JSTranslations | Current JavaScript translations | |
| LicenseText | License text | |
| LogsFolder | Logs folder | |
| MomentJSShortDateFormat | Short Date format for MomentJS | |
| MomentJSShortDateTimeFormat | Short Date Time format for MomentJS | |
| NotificationEmailDevice | Get the first email device used for notification | |
| PersonalFolder | SpecialsFolder Personal folder | |
| ProductVersion | Product version | |
| RazorCacheFolder | Razor cache parent folder. Compiled assemblies are stored in the Net/Win sub-folders. | |
| RazorCacheNetFolder | Razor cache folder for compiled assemblies for the .NET (non-Windows) runtime. | |
| RazorCacheWinFolder | Razor cache folder for compiled assemblies for Windows applications. | |
| ReportsFolder | Reports folder | |
| RepositoryPath | Current path | |
| RepositoryTranslations | Current repository translations | |
| RepositoryTranslationsPath | Repository translations file name | |
| ResultAllFormats | All report formats available | |
| ResultAllowedFormats | Result report formats allowed by the configuration | |
| SchedulesFolder | SpecialsFolder Schedules folder | |
| SealConverterPath | SealConverter assembly path | |
| SealTaskSchedulerPath | The SealTaskScheduler executable full path | |
| Security | Current security | |
| SecurityFolder | Security folder | |
| SecurityPath | Security file path | |
| SecurityProvidersFolder | Security Providers folder | |
| SettingsFolder | Settings folder | |
| Sources | List of MetaSource in the repository | |
| SourcesFolder | Sources folder | |
| SpecialsFolder | SpecialFolders folder | |
| SubReportsFolder | SubReports folder | |
| TableTemplatesFolder | Table templates folder | |
| TaskTemplatesFolder | Task templates folder | |
| Translations | Current translations | |
| TranslationsExcelPattern | Translations file name pattern | |
| TranslationsPattern | Translations file name pattern | |
| UseSealScheduler | True if the Seal Scheduler is used instead of the Windows Tasks Scheduler | |
| ViewContentFolder | View Content folder (first-party application style sheets; third-party libraries live under the 'lib' folder) | |
| ViewImagesFolder | View Images folder | |
| ViewScriptsFolder | View Scripts folder (first-party application scripts; third-party libraries live under the 'lib' folder) | |
| ViewsFolder | Views folder |
| Name | Description | |
|---|---|---|
| CheckFolders | Check repository folders and create them if necessary | |
| Create | Creates a basic repository | |
| CreateFast | Creates a basic repository: properties are shared or cloned for performance reasons | |
| DecryptValue | Decrypt a value using the key name and the encryption mode | |
| EncryptValue | Encrypt a value using the key name and the encryption mode | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FindReport | Find and load report form its identifier | |
| FindRepository | Find the current repository path (normally defined in the .config file) | |
| FindRepositoryTranslation | Find a repository translation from a culture, context, instance and reference | |
| FlushTranslationUsage | ||
| GetApplicationKey | Get an application key or password | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetInstalledTranslationLanguages | ||
| GetPersonalFolder | Returns the personal folder path of a user | |
| GetPersonalFolderName | Returns the personal folder name of a user | |
| GetRecycleBinFolder | Returns the recycle bin folder path for a user (PersonalFolder/{user}/BIN), creating it if needed | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Init | Init the repository from a given path | |
| LoadRepositoryTranslationsFromDataTable | Load repository translations from a data table having columns: Context,Instance,Reference,en,fr,etc. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MustReload | True if the configuration or security file has been modified | |
| PurgeRecycleBin | Deletes recycle bin items older than Configuration.RecycleBinDays. Items are named '{yyyyMMddHHmmss}_{originalName}', so the deletion date is read from the file name prefix. If RecycleBinDays is 0, items are kept forever (no purge). | |
| ReloadAIConfiguration | Forces an AI configuration reload | |
| ReloadConfiguration | Forces a configuration reload | |
| ReloadInstance | Force a reload of the repository Instance | |
| ReloadRepositoryTranslations | Force reload of repository translations | |
| ReloadSecurity | Forces a security reload for Web | |
| ReplaceRepositoryKeyword | Replace the repository keywords in a string | |
| RepositoryTranslate(String, String, String) | Translate a reference text in a repository context with the current culture | |
| RepositoryTranslate(String, String, String, String) | Translate a reference text in a repository context | |
| SendNotificationEmail | Send an Email using the first Notification Email Device. | |
| SetCultureInfo | Set culture from a name, returns true if the change is done. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Translate(String, String) | Translate a reference text in a context | |
| Translate(String, String, String) | Translate a reference text | |
| TranslateCategory | Translate a Category | |
| TranslateCategoryPath | Translate a full category path | |
| TranslateColumn | Translate an Element | |
| TranslateColumnDescription | Translate the description of a Column (semantic layer) | |
| TranslateConnection | Translate a Connection | |
| TranslateConnectionDescription | Translate the description of a Connection (semantic layer) | |
| TranslateDevice | Translate a Device | |
| TranslateEnumDescription | Translate the description of an Enumerated list (semantic layer) | |
| TranslateFileName | Translate a file name | |
| TranslateFolderName | Translate a folder name | |
| TranslateFolderPath | Translate a full Folder Path | |
| TranslateJoinDescription | Translate the description of a Join (semantic layer) | |
| TranslateReport | Translate a reference text in a Report context | |
| TranslateReportDisplayName | Translate a report display name | |
| TranslateReportToJS | Translate a reference text in a Report context for JavaScript use | |
| TranslateTableDescription | Translate the description of a Table (semantic layer) | |
| TranslateWeb | Translate a reference text in a Web context | |
| TranslateWebJS | Translate a reference text in a WebJS context |