Table of Contents

Namespace adas_core.Domain.Utils

Classes

AuthUtils

Provides a set of static utility methods for authentication-related operations.

BsonUtils

Provides static utility methods for working with BSON (Binary JSON) data.

CacheKeyClassifier

Clasificador de claves basado en prefijos. Permite al CacheDispatcher seleccionar el backend adecuado (Redis, InMemory, None).

CacheKeyInspector

Utilidad para extraer información estructurada útil para trazas. No usada por la lógica de caché, pero sí por logs y diagnósticos.

CacheKeyPatterns

Patrones para DeleteByPattern (Redis) u operaciones masivas por prefijo.

CacheKeyTtl

Resuelve TTLs a partir de CacheSettings teniendo en cuenta:

  • El backend seleccionado por entidad (None | Cache | Redis)
  • El TTL de la entidad para ese backend
  • Caída a GlobalSeconds del backend si no hay TTL específico
  • Si el TTL resultante es null o menor o igual a 0 sin expiración
CacheKeys

Generador centralizado de claves de caché.

  • Prefijos normalizados para que el CacheDispatcher clasifique el backend.
  • Overloads "KeyWithTtl" para devolver (key, ttl) en una llamada.
CardConfigExtensions

Provides static extension methods for CardConfig to augment its functionality.

CollectionsUtils

Provides static utility methods for working with collections.

ComparableDictionary<TKey, TValue>

Represents a comparable collection of key/value pairs that extends the standard dictionary functionality.

ComplexObjectValueTypeSerializer

Represents a serializer for complex object value types, deriving from MongoDB.Bson.Serialization.Serializers.SerializerBase<TValue> with object as the type argument.

ComplexObjectValueTypeSerializer.NullIgnoringListSerializer<T>

Provides serialization for List<T> instances while ignoring null elements.

CryptoAdas

Provides a static container for cryptographic operations and utilities related to the Adas domain.

DetailConfigExtension

Provides extension methods for the DetailConfigExtension type.

DictionaryEx

Provides static extension methods to augment the functionality of dictionary types.

EnumUtils

Provides static utility methods for working with Enum types.

EquatableDictionary<TKey, TValue>
GlobalData

Provides static access to global application data and configuration values.

Hl7Utils

Provides static utility methods for working with HL7 (Health Level 7) data formats and messages.

JsonExtensions

Provides extension methods for JSON-related operations.

JwtHelper

Serves as an abstract base class for providing helper functionality related to JSON Web Token (JWT) operations.

Mapper<T>
MappingUtils

Provides a sealed implementation of mapping utilities, serving as the concrete type for the IMappingUtils contract.

MediaUtils

Provides static utility methods for handling media-related operations.

NumberUtils

Provides a collection of static utility methods for performing common numeric operations.

ObjectIdConverter

Provides a JSON converter for serializing and deserializing MongoDB.Bson.ObjectId values.

ObjectUtils

Provides static utility methods for common object-related operations.

RelayHelper

Provides helper methods for relaying operations, data, or commands between components.

StringEx

Provides static extension methods for the string type.