Table of Contents

Namespace Tripous

Classes

AppAssemblies

Provides helper methods for locating application assemblies and types.

Application assemblies are all currently loaded assemblies excluding system, framework and third-party assemblies based on configurable exclusion rules.

AppRegistry

Provides global access to application commands.

AppUser

Represents a user of this application

AssemblyExtensions

Extensions

BaseDef

Base class for all descriptor classes.

BitFields

Provides helper extension methods for working with enum bit fields.

Supports testing, adding, removing and toggling flag values in enums marked with the FlagsAttribute attribute.

CodePage

Represents a text encoding (code page) supported by the system.

Command

Represents a named application command.

A command may execute a synchronous or asynchronous callback, open a form, or act as a container for child commands.

DateRanges

DateRange extensions

DateTextNormalizer

Normalizes and parses date text using ISO format and culture short-date format.

ISO-like input is detected when the text contains a dash or starts with a four-digit part.

Examples: 2030 becomes 2030-01-01, 2030-03 becomes 2030-03-01, and 2030-03-10 remains 2030-03-10.

Culture input follows ShortDatePattern. For a DMY culture, 10/3 becomes 10/03/current-year and 10/3/30 becomes 10/03/2030.

DateTimeExtensions

Extensions

DateTimeFormatTypeExtensions

Extensions

DefList<T>

An observable list of IDef items.

DictionaryExtensions

A helper class for returning typed values from an IDictionary in a safe manner. It assumes that the FlagName is always a string

DynamicClass

Represents a dynamic object whose properties are stored in a dictionary.

Supports dynamic member access, property change notifications, custom type descriptors and JSON serialization.

DynamicPropertyDescriptor

Provides property descriptor support for a dynamic property of a DynamicClass instance.

ExceptionExtensions

Extension helper

HostContext

Provides access to the current application execution context.

HostContext because the AppContext is already taken by .Net.

IDJsonConverter

A json converter for the ID type.

Json

Helper json static class

SEE: https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-overview

JsonNamingPolicyAsIs

A JsonNamingPolicy that leaves property names as they are.

For example: CustomerName is serialized as CustomerName and Customer_Name is serialized as Customer_Name

ListExtensions

Extensions

Passwords

Static class for generating and validating passwords.

ReadOnlyDefList<T>

Provides a read-only wrapper around a descriptor list.

ResourceFiles

Helper for embedded resource files.

Sec

Provides security helper functions for password hashing, key derivation and encryption.

SettingsBase

Base class for application settings stored in JSON files.

StreamExtensions

Extensions

StringExtensions

Extensions

Sys

System-related utilities.

SysConfig

Provides system configuration information.

SysGlobalSettings

Represents the global system settings.

Texts

Provides static methods for getting localized text.

TripousArgumentNullException

Tripous exception

TripousException

Tripous exception

TripousList<T>

Represents an observable list that wraps a List<T> and implements both generic and non-generic collection interfaces.

TypeExtensions

Type related extension methods

TypeStore

Global store of discoverable application types.

TypeStoreAttribute

Marks a type as discoverable by the TypeStore.

Structs

ID

A type to be used with Ids when the exact type is not known.

Interfaces

IDef

Base interface for all descriptors

IJsonLoadable

A class implements this interface to be notified when the JSON text is loaded.

ILocalizer

Represents a localizer.

Enums

ApplicationMode

The mode of an application or external plugin

DateRange

Indicates how to construct a range between two dates.

DateTimeFormatType

Indicates how a DateTime should be formatted as a string

ExecTime

Indicates the time of execution of a sub-operation relative to a main operation

UserLevel

The level of a user, i.e. Guest, Admin, User, etc.

CAUTION: Do NOT change the numbers. This type is used in systems, such as BC, where Options or Enums are zero-based.