### YamlMime:ManagedReference
items:
- uid: adas_core.Domain.Utils.CacheKeyPatterns
commentId: T:adas_core.Domain.Utils.CacheKeyPatterns
id: CacheKeyPatterns
parent: adas_core.Domain.Utils
children:
- adas_core.Domain.Utils.CacheKeyPatterns.ByDate(System.String,System.String)
- adas_core.Domain.Utils.CacheKeyPatterns.ByPatient(System.String,System.String)
- adas_core.Domain.Utils.CacheKeyPatterns.ByPrefix(System.String)
- adas_core.Domain.Utils.CacheKeyPatterns.ForEntity(adas_core.Domain.Enums.CacheEnum.EntityType)
langs:
- csharp
- vb
name: CacheKeyPatterns
nameWithType: CacheKeyPatterns
fullName: adas_core.Domain.Utils.CacheKeyPatterns
type: Class
source:
remote:
path: adas-core.Domain/Utils/CacheUtils.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: CacheKeyPatterns
path: ../../adas-core.Domain/Utils/CacheUtils.cs
startLine: 445
assemblies:
- adas-core.Domain
namespace: adas_core.Domain.Utils
summary: Patrones para DeleteByPattern (Redis) u operaciones masivas por prefijo.
example: []
syntax:
content: public static class CacheKeyPatterns
content.vb: Public Module CacheKeyPatterns
inheritance:
- System.Object
inheritedMembers:
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
- uid: adas_core.Domain.Utils.CacheKeyPatterns.ForEntity(adas_core.Domain.Enums.CacheEnum.EntityType)
commentId: M:adas_core.Domain.Utils.CacheKeyPatterns.ForEntity(adas_core.Domain.Enums.CacheEnum.EntityType)
id: ForEntity(adas_core.Domain.Enums.CacheEnum.EntityType)
parent: adas_core.Domain.Utils.CacheKeyPatterns
langs:
- csharp
- vb
name: ForEntity(EntityType)
nameWithType: CacheKeyPatterns.ForEntity(CacheEnum.EntityType)
fullName: adas_core.Domain.Utils.CacheKeyPatterns.ForEntity(adas_core.Domain.Enums.CacheEnum.EntityType)
type: Method
source:
remote:
path: adas-core.Domain/Utils/CacheUtils.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: ForEntity
path: ../../adas-core.Domain/Utils/CacheUtils.cs
startLine: 452
assemblies:
- adas-core.Domain
namespace: adas_core.Domain.Utils
summary: Returns a cache key pattern corresponding to the specified entity type, mapping each supported entity (Patients, Displays, PumpObservations, Appointments, GroupedObservations, and ConfigObservations) to its dedicated cache key prefix. For any unrecognized entity type, the wildcard pattern "*" is returned as a fallback to target all cache entries.
example: []
syntax:
content: public static string ForEntity(CacheEnum.EntityType type)
parameters:
- id: type
type: adas_core.Domain.Enums.CacheEnum.EntityType
description: The entity type for which a cache key pattern is being generated.
return:
type: System.String
description: A string representing the cache key pattern associated with the given entity type, or "*" if the entity type is not recognized.
content.vb: Public Shared Function ForEntity(type As CacheEnum.EntityType) As String
overload: adas_core.Domain.Utils.CacheKeyPatterns.ForEntity*
- uid: adas_core.Domain.Utils.CacheKeyPatterns.ByPrefix(System.String)
commentId: M:adas_core.Domain.Utils.CacheKeyPatterns.ByPrefix(System.String)
id: ByPrefix(System.String)
parent: adas_core.Domain.Utils.CacheKeyPatterns
langs:
- csharp
- vb
name: ByPrefix(string)
nameWithType: CacheKeyPatterns.ByPrefix(string)
fullName: adas_core.Domain.Utils.CacheKeyPatterns.ByPrefix(string)
type: Method
source:
remote:
path: adas-core.Domain/Utils/CacheUtils.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: ByPrefix
path: ../../adas-core.Domain/Utils/CacheUtils.cs
startLine: 469
assemblies:
- adas-core.Domain
namespace: adas_core.Domain.Utils
summary: Builds a wildcard search key by appending ":*" to the specified prefix, enabling prefix-based lookups over a hierarchical key namespace.
example: []
syntax:
content: public static string ByPrefix(string prefix)
parameters:
- id: prefix
type: System.String
description: The key prefix to match against.
return:
type: System.String
description: A formatted string combining prefix and ":*" used as a wildcard pattern.
content.vb: Public Shared Function ByPrefix(prefix As String) As String
overload: adas_core.Domain.Utils.CacheKeyPatterns.ByPrefix*
nameWithType.vb: CacheKeyPatterns.ByPrefix(String)
fullName.vb: adas_core.Domain.Utils.CacheKeyPatterns.ByPrefix(String)
name.vb: ByPrefix(String)
- uid: adas_core.Domain.Utils.CacheKeyPatterns.ByPatient(System.String,System.String)
commentId: M:adas_core.Domain.Utils.CacheKeyPatterns.ByPatient(System.String,System.String)
id: ByPatient(System.String,System.String)
parent: adas_core.Domain.Utils.CacheKeyPatterns
langs:
- csharp
- vb
name: ByPatient(string, string)
nameWithType: CacheKeyPatterns.ByPatient(string, string)
fullName: adas_core.Domain.Utils.CacheKeyPatterns.ByPatient(string, string)
type: Method
source:
remote:
path: adas-core.Domain/Utils/CacheUtils.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: ByPatient
path: ../../adas-core.Domain/Utils/CacheUtils.cs
startLine: 478
assemblies:
- adas-core.Domain
namespace: adas_core.Domain.Utils
summary: Builds a wildcard search pattern prefixed by the given value and scoped to a specific patient identifier.
example: []
syntax:
content: public static string ByPatient(string prefix, string patientId)
parameters:
- id: prefix
type: System.String
description: The category or context prefix prepended to the pattern.
- id: patientId
type: System.String
description: The patient identifier used to scope the wildcard pattern.
return:
type: System.String
description: A formatted pattern string in the form {prefix}:*:{patientId}*.
content.vb: Public Shared Function ByPatient(prefix As String, patientId As String) As String
overload: adas_core.Domain.Utils.CacheKeyPatterns.ByPatient*
nameWithType.vb: CacheKeyPatterns.ByPatient(String, String)
fullName.vb: adas_core.Domain.Utils.CacheKeyPatterns.ByPatient(String, String)
name.vb: ByPatient(String, String)
- uid: adas_core.Domain.Utils.CacheKeyPatterns.ByDate(System.String,System.String)
commentId: M:adas_core.Domain.Utils.CacheKeyPatterns.ByDate(System.String,System.String)
id: ByDate(System.String,System.String)
parent: adas_core.Domain.Utils.CacheKeyPatterns
langs:
- csharp
- vb
name: ByDate(string, string)
nameWithType: CacheKeyPatterns.ByDate(string, string)
fullName: adas_core.Domain.Utils.CacheKeyPatterns.ByDate(string, string)
type: Method
source:
remote:
path: adas-core.Domain/Utils/CacheUtils.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: ByDate
path: ../../adas-core.Domain/Utils/CacheUtils.cs
startLine: 487
assemblies:
- adas-core.Domain
namespace: adas_core.Domain.Utils
summary: Builds a formatted string by combining the provided prefix and date with a :*: separator, typically used as a key or identifier pattern.
example: []
syntax:
content: public static string ByDate(string prefix, string date)
parameters:
- id: prefix
type: System.String
description: The prefix segment to include at the beginning of the returned string.
- id: date
type: System.String
description: The date segment to include at the end of the returned string.
return:
type: System.String
description: A string formatted as {prefix}:*:{date}.
content.vb: Public Shared Function ByDate(prefix As String, [date] As String) As String
overload: adas_core.Domain.Utils.CacheKeyPatterns.ByDate*
nameWithType.vb: CacheKeyPatterns.ByDate(String, String)
fullName.vb: adas_core.Domain.Utils.CacheKeyPatterns.ByDate(String, String)
name.vb: ByDate(String, String)
references:
- uid: adas_core.Domain.Utils
commentId: N:adas_core.Domain.Utils
href: adas_core.html
name: adas_core.Domain.Utils
nameWithType: adas_core.Domain.Utils
fullName: adas_core.Domain.Utils
spec.csharp:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Domain
name: Domain
href: adas_core.Domain.html
- name: .
- uid: adas_core.Domain.Utils
name: Utils
href: adas_core.Domain.Utils.html
spec.vb:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Domain
name: Domain
href: adas_core.Domain.html
- name: .
- uid: adas_core.Domain.Utils
name: Utils
href: adas_core.Domain.Utils.html
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: Object
- uid: System.Object.Equals(System.Object)
commentId: M:System.Object.Equals(System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
name: Equals(object)
nameWithType: object.Equals(object)
fullName: object.Equals(object)
nameWithType.vb: Object.Equals(Object)
fullName.vb: Object.Equals(Object)
name.vb: Equals(Object)
spec.csharp:
- uid: System.Object.Equals(System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.Equals(System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
name: Equals(object, object)
nameWithType: object.Equals(object, object)
fullName: object.Equals(object, object)
nameWithType.vb: Object.Equals(Object, Object)
fullName.vb: Object.Equals(Object, Object)
name.vb: Equals(Object, Object)
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.GetHashCode
commentId: M:System.Object.GetHashCode
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
name: GetHashCode()
nameWithType: object.GetHashCode()
fullName: object.GetHashCode()
nameWithType.vb: Object.GetHashCode()
fullName.vb: Object.GetHashCode()
spec.csharp:
- uid: System.Object.GetHashCode
name: GetHashCode
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
- name: (
- name: )
spec.vb:
- uid: System.Object.GetHashCode
name: GetHashCode
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
- name: (
- name: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
name: GetType()
nameWithType: object.GetType()
fullName: object.GetType()
nameWithType.vb: Object.GetType()
fullName.vb: Object.GetType()
spec.csharp:
- uid: System.Object.GetType
name: GetType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
- name: (
- name: )
spec.vb:
- uid: System.Object.GetType
name: GetType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
- name: (
- name: )
- uid: System.Object.MemberwiseClone
commentId: M:System.Object.MemberwiseClone
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
name: MemberwiseClone()
nameWithType: object.MemberwiseClone()
fullName: object.MemberwiseClone()
nameWithType.vb: Object.MemberwiseClone()
fullName.vb: Object.MemberwiseClone()
spec.csharp:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
- name: (
- name: )
spec.vb:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
- name: (
- name: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
name: ReferenceEquals(object, object)
nameWithType: object.ReferenceEquals(object, object)
fullName: object.ReferenceEquals(object, object)
nameWithType.vb: Object.ReferenceEquals(Object, Object)
fullName.vb: Object.ReferenceEquals(Object, Object)
name.vb: ReferenceEquals(Object, Object)
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.ToString
commentId: M:System.Object.ToString
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
name: ToString()
nameWithType: object.ToString()
fullName: object.ToString()
nameWithType.vb: Object.ToString()
fullName.vb: Object.ToString()
spec.csharp:
- uid: System.Object.ToString
name: ToString
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
- name: (
- name: )
spec.vb:
- uid: System.Object.ToString
name: ToString
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
- name: (
- name: )
- uid: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: adas_core.Domain.Utils.CacheKeyPatterns.ForEntity*
commentId: Overload:adas_core.Domain.Utils.CacheKeyPatterns.ForEntity
href: adas_core.Domain.Utils.CacheKeyPatterns.html#adas_core_Domain_Utils_CacheKeyPatterns_ForEntity_adas_core_Domain_Enums_CacheEnum_EntityType_
name: ForEntity
nameWithType: CacheKeyPatterns.ForEntity
fullName: adas_core.Domain.Utils.CacheKeyPatterns.ForEntity
- uid: adas_core.Domain.Enums.CacheEnum.EntityType
commentId: T:adas_core.Domain.Enums.CacheEnum.EntityType
parent: adas_core.Domain.Enums
href: adas_core.Domain.Enums.CacheEnum.html
name: CacheEnum.EntityType
nameWithType: CacheEnum.EntityType
fullName: adas_core.Domain.Enums.CacheEnum.EntityType
spec.csharp:
- uid: adas_core.Domain.Enums.CacheEnum
name: CacheEnum
href: adas_core.Domain.Enums.CacheEnum.html
- name: .
- uid: adas_core.Domain.Enums.CacheEnum.EntityType
name: EntityType
href: adas_core.Domain.Enums.CacheEnum.EntityType.html
spec.vb:
- uid: adas_core.Domain.Enums.CacheEnum
name: CacheEnum
href: adas_core.Domain.Enums.CacheEnum.html
- name: .
- uid: adas_core.Domain.Enums.CacheEnum.EntityType
name: EntityType
href: adas_core.Domain.Enums.CacheEnum.EntityType.html
- uid: System.String
commentId: T:System.String
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
name: string
nameWithType: string
fullName: string
nameWithType.vb: String
fullName.vb: String
name.vb: String
- uid: adas_core.Domain.Enums
commentId: N:adas_core.Domain.Enums
href: adas_core.html
name: adas_core.Domain.Enums
nameWithType: adas_core.Domain.Enums
fullName: adas_core.Domain.Enums
spec.csharp:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Domain
name: Domain
href: adas_core.Domain.html
- name: .
- uid: adas_core.Domain.Enums
name: Enums
href: adas_core.Domain.Enums.html
spec.vb:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Domain
name: Domain
href: adas_core.Domain.html
- name: .
- uid: adas_core.Domain.Enums
name: Enums
href: adas_core.Domain.Enums.html
- uid: adas_core.Domain.Utils.CacheKeyPatterns.ByPrefix*
commentId: Overload:adas_core.Domain.Utils.CacheKeyPatterns.ByPrefix
href: adas_core.Domain.Utils.CacheKeyPatterns.html#adas_core_Domain_Utils_CacheKeyPatterns_ByPrefix_System_String_
name: ByPrefix
nameWithType: CacheKeyPatterns.ByPrefix
fullName: adas_core.Domain.Utils.CacheKeyPatterns.ByPrefix
- uid: adas_core.Domain.Utils.CacheKeyPatterns.ByPatient*
commentId: Overload:adas_core.Domain.Utils.CacheKeyPatterns.ByPatient
href: adas_core.Domain.Utils.CacheKeyPatterns.html#adas_core_Domain_Utils_CacheKeyPatterns_ByPatient_System_String_System_String_
name: ByPatient
nameWithType: CacheKeyPatterns.ByPatient
fullName: adas_core.Domain.Utils.CacheKeyPatterns.ByPatient
- uid: adas_core.Domain.Utils.CacheKeyPatterns.ByDate*
commentId: Overload:adas_core.Domain.Utils.CacheKeyPatterns.ByDate
href: adas_core.Domain.Utils.CacheKeyPatterns.html#adas_core_Domain_Utils_CacheKeyPatterns_ByDate_System_String_System_String_
name: ByDate
nameWithType: CacheKeyPatterns.ByDate
fullName: adas_core.Domain.Utils.CacheKeyPatterns.ByDate