Files
adas-core/Documentation/docs/api/adas_core.Application.Services.Interfaces.ICacheService.yml
T
2026-06-26 10:29:23 +02:00

1384 lines
60 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: adas_core.Application.Services.Interfaces.ICacheService
commentId: T:adas_core.Application.Services.Interfaces.ICacheService
id: ICacheService
parent: adas_core.Application.Services.Interfaces
children:
- adas_core.Application.Services.Interfaces.ICacheService.CleanCache
- adas_core.Application.Services.Interfaces.ICacheService.DeleteByPatternAsync(System.String)
- adas_core.Application.Services.Interfaces.ICacheService.DeleteObjectAsync(System.String)
- adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync``1(System.String,System.Boolean)
- adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync``1(System.String,System.Nullable{System.TimeSpan},System.Boolean)
- adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync``1(System.String,System.Func{System.Threading.Tasks.Task{``0}},System.Nullable{System.TimeSpan},System.Threading.CancellationToken)
- adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync``1(adas_core.Domain.Models.GroupedObservations.GroupedField,MongoDB.Bson.ObjectId,System.Func{System.Threading.Tasks.Task{``0}},System.Nullable{System.TimeSpan},System.Threading.CancellationToken)
- adas_core.Application.Services.Interfaces.ICacheService.GetOrSetValueAsync(System.String,System.Func{System.Threading.Tasks.Task{System.String}},System.Nullable{System.TimeSpan})
- adas_core.Application.Services.Interfaces.ICacheService.GetValue(System.String)
- adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync``1(System.String,``0,System.Boolean)
- adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync``1(System.String,``0,System.Nullable{System.TimeSpan},System.Boolean)
- adas_core.Application.Services.Interfaces.ICacheService.SetValue(System.String,System.String)
langs:
- csharp
- vb
name: ICacheService
nameWithType: ICacheService
fullName: adas_core.Application.Services.Interfaces.ICacheService
type: Interface
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: ICacheService
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 5
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
syntax:
content: public interface ICacheService
content.vb: Public Interface ICacheService
derivedClasses:
- adas_core.Application.Services.Caching.CacheDispatcher
- adas_core.Application.Services.Caching.CacheService
- adas_core.Application.Services.Caching.NoCacheService
- adas_core.Application.Services.Caching.RedisService
extensionMethods:
- System.Object.adas_core.Domain.Utils.NumberUtils.IsNumber
- System.Object.adas_core.Domain.Utils.NumberUtils.ToDouble
- System.Object.adas_core.Domain.Utils.ObjectUtils.ToStr
- uid: adas_core.Application.Services.Interfaces.ICacheService.SetValue(System.String,System.String)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.SetValue(System.String,System.String)
id: SetValue(System.String,System.String)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: SetValue(string, string)
nameWithType: ICacheService.SetValue(string, string)
fullName: adas_core.Application.Services.Interfaces.ICacheService.SetValue(string, string)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: SetValue
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 13
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: Stores the specified value associated with the given key.
example: []
syntax:
content: void SetValue(string key, string value)
parameters:
- id: key
type: System.String
description: The identifier used to associate the value.
- id: value
type: System.String
description: The value to store for the specified key.
content.vb: Sub SetValue(key As String, value As String)
overload: adas_core.Application.Services.Interfaces.ICacheService.SetValue*
nameWithType.vb: ICacheService.SetValue(String, String)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.SetValue(String, String)
name.vb: SetValue(String, String)
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetValue(System.String)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.GetValue(System.String)
id: GetValue(System.String)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: GetValue(string)
nameWithType: ICacheService.GetValue(string)
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetValue(string)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetValue
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 19
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: Retrieves the string value associated with the specified key.
example: []
syntax:
content: string? GetValue(string key)
parameters:
- id: key
type: System.String
description: The key used to look up the value.
return:
type: System.String
description: The value associated with the key, or <code>null</code> if the key is not found.
content.vb: Function GetValue(key As String) As String
overload: adas_core.Application.Services.Interfaces.ICacheService.GetValue*
nameWithType.vb: ICacheService.GetValue(String)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.GetValue(String)
name.vb: GetValue(String)
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync``1(System.String,System.Boolean)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync``1(System.String,System.Boolean)
id: GetObjectAsync``1(System.String,System.Boolean)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: GetObjectAsync<T>(string, bool)
nameWithType: ICacheService.GetObjectAsync<T>(string, bool)
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync<T>(string, bool)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetObjectAsync
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 27
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: >-
Asynchronously retrieves an object associated with the specified <code class="paramref">key</code>, returning null if no entry is found.
When <code class="paramref">updateExpiration</code> is true, the expiration of the retrieved entry is extended upon access.
example: []
syntax:
content: Task<T?> GetObjectAsync<T>(string key, bool updateExpiration = true)
parameters:
- id: key
type: System.String
description: The unique identifier of the object to retrieve.
- id: updateExpiration
type: System.Boolean
description: Indicates whether the expiration of the entry should be extended when it is successfully retrieved. Defaults to true.
typeParameters:
- id: T
return:
type: System.Threading.Tasks.Task{{T}}
description: A task that represents the asynchronous retrieval operation. The task result contains the object of type <code class="typeparamref">T</code> associated with the key, or null if no matching entry exists.
content.vb: Function GetObjectAsync(Of T)(key As String, updateExpiration As Boolean = True) As Task(Of T)
overload: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync*
nameWithType.vb: ICacheService.GetObjectAsync(Of T)(String, Boolean)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync(Of T)(String, Boolean)
name.vb: GetObjectAsync(Of T)(String, Boolean)
- uid: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync``1(System.String,``0,System.Boolean)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync``1(System.String,``0,System.Boolean)
id: SetObjectAsync``1(System.String,``0,System.Boolean)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: SetObjectAsync<T>(string, T, bool)
nameWithType: ICacheService.SetObjectAsync<T>(string, T, bool)
fullName: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync<T>(string, T, bool)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: SetObjectAsync
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 35
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: >-
Asynchronously stores an object of type <code class="typeparamref">T</code> using the specified key, optionally updating its expiration time.
When <code class="paramref">updateExpiration</code> is true, the entry's expiration is refreshed; otherwise the existing expiration is preserved.
example: []
syntax:
content: Task SetObjectAsync<T>(string key, T obj, bool updateExpiration = true)
parameters:
- id: key
type: System.String
description: The identifier under which the object will be stored.
- id: obj
type: '{T}'
description: The object to be stored.
- id: updateExpiration
type: System.Boolean
description: Specifies whether the expiration time of the entry should be refreshed. Defaults to true.
typeParameters:
- id: T
return:
type: System.Threading.Tasks.Task
content.vb: Function SetObjectAsync(Of T)(key As String, obj As T, updateExpiration As Boolean = True) As Task
overload: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync*
nameWithType.vb: ICacheService.SetObjectAsync(Of T)(String, T, Boolean)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync(Of T)(String, T, Boolean)
name.vb: SetObjectAsync(Of T)(String, T, Boolean)
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync``1(System.String,System.Nullable{System.TimeSpan},System.Boolean)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync``1(System.String,System.Nullable{System.TimeSpan},System.Boolean)
id: GetObjectAsync``1(System.String,System.Nullable{System.TimeSpan},System.Boolean)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: GetObjectAsync<T>(string, TimeSpan?, bool)
nameWithType: ICacheService.GetObjectAsync<T>(string, TimeSpan?, bool)
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync<T>(string, System.TimeSpan?, bool)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetObjectAsync
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 45
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: >-
Asynchronously retrieves an object of type <code class="typeparamref">T</code> associated with the specified <code class="paramref">key</code>.
Supports an optional <code class="paramref">ttlOverride</code> to apply a custom time-to-live and an <code class="paramref">updateExpiration</code> flag
to control whether the entry's expiration is refreshed on access.
example: []
syntax:
content: Task<T?> GetObjectAsync<T>(string key, TimeSpan? ttlOverride, bool updateExpiration)
parameters:
- id: key
type: System.String
description: The unique identifier of the object to retrieve.
- id: ttlOverride
type: System.Nullable{System.TimeSpan}
description: An optional time-to-live value that overrides the default expiration period; if <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>, the default TTL is used.
- id: updateExpiration
type: System.Boolean
description: A value indicating whether the object's expiration should be extended when it is successfully retrieved.
typeParameters:
- id: T
return:
type: System.Threading.Tasks.Task{{T}}
description: A <xref href="System.Threading.Tasks.Task%601" data-throw-if-not-resolved="false"></xref> that represents the asynchronous operation, containing the retrieved object of type <code class="typeparamref">T</code>, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if the object is not found.
content.vb: Function GetObjectAsync(Of T)(key As String, ttlOverride As TimeSpan?, updateExpiration As Boolean) As Task(Of T)
overload: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync*
nameWithType.vb: ICacheService.GetObjectAsync(Of T)(String, TimeSpan?, Boolean)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync(Of T)(String, System.TimeSpan?, Boolean)
name.vb: GetObjectAsync(Of T)(String, TimeSpan?, Boolean)
- uid: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync``1(System.String,``0,System.Nullable{System.TimeSpan},System.Boolean)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync``1(System.String,``0,System.Nullable{System.TimeSpan},System.Boolean)
id: SetObjectAsync``1(System.String,``0,System.Nullable{System.TimeSpan},System.Boolean)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: SetObjectAsync<T>(string, T, TimeSpan?, bool)
nameWithType: ICacheService.SetObjectAsync<T>(string, T, TimeSpan?, bool)
fullName: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync<T>(string, T, System.TimeSpan?, bool)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: SetObjectAsync
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 54
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: Asynchronously stores the specified object associated with the given key, using an optional time-to-live override and expiration update behavior.
example: []
syntax:
content: Task SetObjectAsync<T>(string key, T obj, TimeSpan? ttlOverride, bool updateExpiration)
parameters:
- id: key
type: System.String
description: The identifier under which the object will be stored.
- id: obj
type: '{T}'
description: The object to store.
- id: ttlOverride
type: System.Nullable{System.TimeSpan}
description: An optional <xref href="System.TimeSpan" data-throw-if-not-resolved="false"></xref> that overrides the default time-to-live for the stored object.
- id: updateExpiration
type: System.Boolean
description: A value indicating whether the expiration of the stored object should be updated based on the provided TTL.
typeParameters:
- id: T
return:
type: System.Threading.Tasks.Task
description: A <xref href="System.Threading.Tasks.Task" data-throw-if-not-resolved="false"></xref> that represents the asynchronous storage operation.
content.vb: Function SetObjectAsync(Of T)(key As String, obj As T, ttlOverride As TimeSpan?, updateExpiration As Boolean) As Task
overload: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync*
nameWithType.vb: ICacheService.SetObjectAsync(Of T)(String, T, TimeSpan?, Boolean)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync(Of T)(String, T, System.TimeSpan?, Boolean)
name.vb: SetObjectAsync(Of T)(String, T, TimeSpan?, Boolean)
- uid: adas_core.Application.Services.Interfaces.ICacheService.DeleteObjectAsync(System.String)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.DeleteObjectAsync(System.String)
id: DeleteObjectAsync(System.String)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: DeleteObjectAsync(string)
nameWithType: ICacheService.DeleteObjectAsync(string)
fullName: adas_core.Application.Services.Interfaces.ICacheService.DeleteObjectAsync(string)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: DeleteObjectAsync
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 59
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: Asynchronously deletes an object identified by the specified key.
example: []
syntax:
content: Task DeleteObjectAsync(string key)
parameters:
- id: key
type: System.String
description: The unique identifier of the object to delete.
return:
type: System.Threading.Tasks.Task
content.vb: Function DeleteObjectAsync(key As String) As Task
overload: adas_core.Application.Services.Interfaces.ICacheService.DeleteObjectAsync*
nameWithType.vb: ICacheService.DeleteObjectAsync(String)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.DeleteObjectAsync(String)
name.vb: DeleteObjectAsync(String)
- uid: adas_core.Application.Services.Interfaces.ICacheService.DeleteByPatternAsync(System.String)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.DeleteByPatternAsync(System.String)
id: DeleteByPatternAsync(System.String)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: DeleteByPatternAsync(string)
nameWithType: ICacheService.DeleteByPatternAsync(string)
fullName: adas_core.Application.Services.Interfaces.ICacheService.DeleteByPatternAsync(string)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: DeleteByPatternAsync
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 65
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: Asynchronously deletes entries matching the specified pattern and returns the number of deleted items.
example: []
syntax:
content: Task<long> DeleteByPatternAsync(string pattern)
parameters:
- id: pattern
type: System.String
description: The pattern used to match the entries to be deleted.
return:
type: System.Threading.Tasks.Task{System.Int64}
description: A task that represents the asynchronous delete operation. The task result contains the total number of entries that were deleted.
content.vb: Function DeleteByPatternAsync(pattern As String) As Task(Of Long)
overload: adas_core.Application.Services.Interfaces.ICacheService.DeleteByPatternAsync*
nameWithType.vb: ICacheService.DeleteByPatternAsync(String)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.DeleteByPatternAsync(String)
name.vb: DeleteByPatternAsync(String)
- uid: adas_core.Application.Services.Interfaces.ICacheService.CleanCache
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.CleanCache
id: CleanCache
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: CleanCache()
nameWithType: ICacheService.CleanCache()
fullName: adas_core.Application.Services.Interfaces.ICacheService.CleanCache()
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: CleanCache
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 69
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: Clears the application cache, removing all cached entries.
example: []
syntax:
content: void CleanCache()
content.vb: Sub CleanCache()
overload: adas_core.Application.Services.Interfaces.ICacheService.CleanCache*
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetValueAsync(System.String,System.Func{System.Threading.Tasks.Task{System.String}},System.Nullable{System.TimeSpan})
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.GetOrSetValueAsync(System.String,System.Func{System.Threading.Tasks.Task{System.String}},System.Nullable{System.TimeSpan})
id: GetOrSetValueAsync(System.String,System.Func{System.Threading.Tasks.Task{System.String}},System.Nullable{System.TimeSpan})
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: GetOrSetValueAsync(string, Func<Task<string>>, TimeSpan?)
nameWithType: ICacheService.GetOrSetValueAsync(string, Func<Task<string>>, TimeSpan?)
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetValueAsync(string, System.Func<System.Threading.Tasks.Task<string>>, System.TimeSpan?)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetOrSetValueAsync
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 82
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: Asynchronously retrieves a cached value for the specified key, or loads and stores it using the provided loader function when the key is not present.
example: []
syntax:
content: Task<string?> GetOrSetValueAsync(string key, Func<Task<string>> loader, TimeSpan? ttlOverride = null)
parameters:
- id: key
type: System.String
description: The cache key used to identify the stored value.
- id: loader
type: System.Func{System.Threading.Tasks.Task{System.String}}
description: The asynchronous function invoked to produce the value when no cached entry exists for the specified key.
- id: ttlOverride
type: System.Nullable{System.TimeSpan}
description: An optional time-to-live duration that overrides the default expiration for the cached entry; when <code>null</code>, the default TTL is used.
return:
type: System.Threading.Tasks.Task{System.String}
description: A task that represents the asynchronous operation. The result is the cached or freshly loaded string value, or <code>null</code> when no value is available.
content.vb: Function GetOrSetValueAsync(key As String, loader As Func(Of Task(Of String)), ttlOverride As TimeSpan? = Nothing) As Task(Of String)
overload: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetValueAsync*
nameWithType.vb: ICacheService.GetOrSetValueAsync(String, Func(Of Task(Of String)), TimeSpan?)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetValueAsync(String, System.Func(Of System.Threading.Tasks.Task(Of String)), System.TimeSpan?)
name.vb: GetOrSetValueAsync(String, Func(Of Task(Of String)), TimeSpan?)
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync``1(System.String,System.Func{System.Threading.Tasks.Task{``0}},System.Nullable{System.TimeSpan},System.Threading.CancellationToken)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync``1(System.String,System.Func{System.Threading.Tasks.Task{``0}},System.Nullable{System.TimeSpan},System.Threading.CancellationToken)
id: GetOrSetObjectAsync``1(System.String,System.Func{System.Threading.Tasks.Task{``0}},System.Nullable{System.TimeSpan},System.Threading.CancellationToken)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: GetOrSetObjectAsync<T>(string, Func<Task<T>>, TimeSpan?, CancellationToken)
nameWithType: ICacheService.GetOrSetObjectAsync<T>(string, Func<Task<T>>, TimeSpan?, CancellationToken)
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync<T>(string, System.Func<System.Threading.Tasks.Task<T>>, System.TimeSpan?, System.Threading.CancellationToken)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetOrSetObjectAsync
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 91
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: Asynchronously retrieves an object associated with the specified key from the cache, or invokes the factory to create and cache a new one when the key is not found.
example: []
syntax:
content: Task<T> GetOrSetObjectAsync<T>(string key, Func<Task<T>> factory, TimeSpan? ttl = null, CancellationToken cancellationToken = default)
parameters:
- id: key
type: System.String
description: The cache key used to identify the stored object.
- id: factory
type: System.Func{System.Threading.Tasks.Task{{T}}}
description: The asynchronous function executed to produce the object when no cached value exists for the given key.
- id: ttl
type: System.Nullable{System.TimeSpan}
description: The optional expiration period for the cached entry; if null, the default cache lifetime is applied.
- id: cancellationToken
type: System.Threading.CancellationToken
description: The token used to cancel the asynchronous operation.
typeParameters:
- id: T
return:
type: System.Threading.Tasks.Task{{T}}
description: A task that resolves to the cached or newly created object of type <code class="typeparamref">T</code>.
content.vb: Function GetOrSetObjectAsync(Of T)(key As String, factory As Func(Of Task(Of T)), ttl As TimeSpan? = Nothing, cancellationToken As CancellationToken = Nothing) As Task(Of T)
overload: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync*
nameWithType.vb: ICacheService.GetOrSetObjectAsync(Of T)(String, Func(Of Task(Of T)), TimeSpan?, CancellationToken)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync(Of T)(String, System.Func(Of System.Threading.Tasks.Task(Of T)), System.TimeSpan?, System.Threading.CancellationToken)
name.vb: GetOrSetObjectAsync(Of T)(String, Func(Of Task(Of T)), TimeSpan?, CancellationToken)
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync``1(adas_core.Domain.Models.GroupedObservations.GroupedField,MongoDB.Bson.ObjectId,System.Func{System.Threading.Tasks.Task{``0}},System.Nullable{System.TimeSpan},System.Threading.CancellationToken)
commentId: M:adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync``1(adas_core.Domain.Models.GroupedObservations.GroupedField,MongoDB.Bson.ObjectId,System.Func{System.Threading.Tasks.Task{``0}},System.Nullable{System.TimeSpan},System.Threading.CancellationToken)
id: GetOrSetObjectAsync``1(adas_core.Domain.Models.GroupedObservations.GroupedField,MongoDB.Bson.ObjectId,System.Func{System.Threading.Tasks.Task{``0}},System.Nullable{System.TimeSpan},System.Threading.CancellationToken)
parent: adas_core.Application.Services.Interfaces.ICacheService
langs:
- csharp
- vb
name: GetOrSetObjectAsync<T>(GroupedField, ObjectId, Func<Task<T>>, TimeSpan?, CancellationToken)
nameWithType: ICacheService.GetOrSetObjectAsync<T>(GroupedField, ObjectId, Func<Task<T>>, TimeSpan?, CancellationToken)
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync<T>(adas_core.Domain.Models.GroupedObservations.GroupedField, MongoDB.Bson.ObjectId, System.Func<System.Threading.Tasks.Task<T>>, System.TimeSpan?, System.Threading.CancellationToken)
type: Method
source:
remote:
path: adas-core.Application/Services/Interfaces/ICacheService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetOrSetObjectAsync
path: ../../adas-core.Application/Services/Interfaces/ICacheService.cs
startLine: 107
assemblies:
- adas-core.Application
namespace: adas_core.Application.Services.Interfaces
summary: Asynchronously retrieves a cached object identified by the patient and grouped field, or creates and stores it via the supplied factory when no cached value exists.
example: []
syntax:
content: Task<T> GetOrSetObjectAsync<T>(GroupedField groupedField, ObjectId patientId, Func<Task<T>> factory, TimeSpan? ttl = null, CancellationToken cancellationToken = default)
parameters:
- id: groupedField
type: adas_core.Domain.Models.GroupedObservations.GroupedField
description: The grouped field used to categorize and identify the cached object.
- id: patientId
type: MongoDB.Bson.ObjectId
description: The identifier of the patient the object is associated with.
- id: factory
type: System.Func{System.Threading.Tasks.Task{{T}}}
description: The asynchronous factory delegate invoked to produce the object when it is not found in the cache.
- id: ttl
type: System.Nullable{System.TimeSpan}
description: The optional time-to-live duration applied to the cached entry.
- id: cancellationToken
type: System.Threading.CancellationToken
description: The token to monitor for cancellation requests.
typeParameters:
- id: T
return:
type: System.Threading.Tasks.Task{{T}}
description: A task containing the cached or newly created object of type <code class="typeparamref">T</code>.
content.vb: Function GetOrSetObjectAsync(Of T)(groupedField As GroupedField, patientId As ObjectId, factory As Func(Of Task(Of T)), ttl As TimeSpan? = Nothing, cancellationToken As CancellationToken = Nothing) As Task(Of T)
overload: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync*
nameWithType.vb: ICacheService.GetOrSetObjectAsync(Of T)(GroupedField, ObjectId, Func(Of Task(Of T)), TimeSpan?, CancellationToken)
fullName.vb: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync(Of T)(adas_core.Domain.Models.GroupedObservations.GroupedField, MongoDB.Bson.ObjectId, System.Func(Of System.Threading.Tasks.Task(Of T)), System.TimeSpan?, System.Threading.CancellationToken)
name.vb: GetOrSetObjectAsync(Of T)(GroupedField, ObjectId, Func(Of Task(Of T)), TimeSpan?, CancellationToken)
references:
- uid: adas_core.Application.Services.Interfaces
commentId: N:adas_core.Application.Services.Interfaces
href: adas_core.html
name: adas_core.Application.Services.Interfaces
nameWithType: adas_core.Application.Services.Interfaces
fullName: adas_core.Application.Services.Interfaces
spec.csharp:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Application
name: Application
href: adas_core.Application.html
- name: .
- uid: adas_core.Application.Services
name: Services
href: adas_core.Application.Services.html
- name: .
- uid: adas_core.Application.Services.Interfaces
name: Interfaces
href: adas_core.Application.Services.Interfaces.html
spec.vb:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Application
name: Application
href: adas_core.Application.html
- name: .
- uid: adas_core.Application.Services
name: Services
href: adas_core.Application.Services.html
- name: .
- uid: adas_core.Application.Services.Interfaces
name: Interfaces
href: adas_core.Application.Services.Interfaces.html
- uid: System.Object.adas_core.Domain.Utils.NumberUtils.IsNumber
commentId: M:adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
parent: adas_core.Domain.Utils.NumberUtils
definition: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
name: IsNumber(object)
nameWithType: NumberUtils.IsNumber(object)
fullName: adas_core.Domain.Utils.NumberUtils.IsNumber(object)
nameWithType.vb: NumberUtils.IsNumber(Object)
fullName.vb: adas_core.Domain.Utils.NumberUtils.IsNumber(Object)
name.vb: IsNumber(Object)
spec.csharp:
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
name: IsNumber
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
name: IsNumber
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.adas_core.Domain.Utils.NumberUtils.ToDouble
commentId: M:adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
parent: adas_core.Domain.Utils.NumberUtils
definition: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
name: ToDouble(object)
nameWithType: NumberUtils.ToDouble(object)
fullName: adas_core.Domain.Utils.NumberUtils.ToDouble(object)
nameWithType.vb: NumberUtils.ToDouble(Object)
fullName.vb: adas_core.Domain.Utils.NumberUtils.ToDouble(Object)
name.vb: ToDouble(Object)
spec.csharp:
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
name: ToDouble
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
name: ToDouble
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.adas_core.Domain.Utils.ObjectUtils.ToStr
commentId: M:adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
parent: adas_core.Domain.Utils.ObjectUtils
definition: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
name: ToStr(object)
nameWithType: ObjectUtils.ToStr(object)
fullName: adas_core.Domain.Utils.ObjectUtils.ToStr(object)
nameWithType.vb: ObjectUtils.ToStr(Object)
fullName.vb: adas_core.Domain.Utils.ObjectUtils.ToStr(Object)
name.vb: ToStr(Object)
spec.csharp:
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
name: ToStr
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
name: ToStr
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
commentId: M:adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
isExternal: true
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
name: IsNumber(object)
nameWithType: NumberUtils.IsNumber(object)
fullName: adas_core.Domain.Utils.NumberUtils.IsNumber(object)
nameWithType.vb: NumberUtils.IsNumber(Object)
fullName.vb: adas_core.Domain.Utils.NumberUtils.IsNumber(Object)
name.vb: IsNumber(Object)
spec.csharp:
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
name: IsNumber
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
name: IsNumber
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: adas_core.Domain.Utils.NumberUtils
commentId: T:adas_core.Domain.Utils.NumberUtils
parent: adas_core.Domain.Utils
href: adas_core.Domain.Utils.NumberUtils.html
name: NumberUtils
nameWithType: NumberUtils
fullName: adas_core.Domain.Utils.NumberUtils
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
commentId: M:adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
isExternal: true
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
name: ToDouble(object)
nameWithType: NumberUtils.ToDouble(object)
fullName: adas_core.Domain.Utils.NumberUtils.ToDouble(object)
nameWithType.vb: NumberUtils.ToDouble(Object)
fullName.vb: adas_core.Domain.Utils.NumberUtils.ToDouble(Object)
name.vb: ToDouble(Object)
spec.csharp:
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
name: ToDouble
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
name: ToDouble
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
commentId: M:adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
isExternal: true
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
name: ToStr(object)
nameWithType: ObjectUtils.ToStr(object)
fullName: adas_core.Domain.Utils.ObjectUtils.ToStr(object)
nameWithType.vb: ObjectUtils.ToStr(Object)
fullName.vb: adas_core.Domain.Utils.ObjectUtils.ToStr(Object)
name.vb: ToStr(Object)
spec.csharp:
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
name: ToStr
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
name: ToStr
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: adas_core.Domain.Utils.ObjectUtils
commentId: T:adas_core.Domain.Utils.ObjectUtils
parent: adas_core.Domain.Utils
href: adas_core.Domain.Utils.ObjectUtils.html
name: ObjectUtils
nameWithType: ObjectUtils
fullName: adas_core.Domain.Utils.ObjectUtils
- 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: adas_core.Application.Services.Interfaces.ICacheService.SetValue*
commentId: Overload:adas_core.Application.Services.Interfaces.ICacheService.SetValue
href: adas_core.Application.Services.Interfaces.ICacheService.html#adas_core_Application_Services_Interfaces_ICacheService_SetValue_System_String_System_String_
name: SetValue
nameWithType: ICacheService.SetValue
fullName: adas_core.Application.Services.Interfaces.ICacheService.SetValue
- 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: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetValue*
commentId: Overload:adas_core.Application.Services.Interfaces.ICacheService.GetValue
href: adas_core.Application.Services.Interfaces.ICacheService.html#adas_core_Application_Services_Interfaces_ICacheService_GetValue_System_String_
name: GetValue
nameWithType: ICacheService.GetValue
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetValue
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync*
commentId: Overload:adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync
href: adas_core.Application.Services.Interfaces.ICacheService.html#adas_core_Application_Services_Interfaces_ICacheService_GetObjectAsync__1_System_String_System_Boolean_
name: GetObjectAsync
nameWithType: ICacheService.GetObjectAsync
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetObjectAsync
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
- uid: System.Threading.Tasks.Task{{T}}
commentId: T:System.Threading.Tasks.Task{``0}
parent: System.Threading.Tasks
definition: System.Threading.Tasks.Task`1
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<T>
nameWithType: Task<T>
fullName: System.Threading.Tasks.Task<T>
nameWithType.vb: Task(Of T)
fullName.vb: System.Threading.Tasks.Task(Of T)
name.vb: Task(Of T)
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- name: T
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: System.Threading.Tasks.Task`1
commentId: T:System.Threading.Tasks.Task`1
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<TResult>
nameWithType: Task<TResult>
fullName: System.Threading.Tasks.Task<TResult>
nameWithType.vb: Task(Of TResult)
fullName.vb: System.Threading.Tasks.Task(Of TResult)
name.vb: Task(Of TResult)
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- name: TResult
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- name: TResult
- name: )
- uid: System.Threading.Tasks
commentId: N:System.Threading.Tasks
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System.Threading.Tasks
nameWithType: System.Threading.Tasks
fullName: System.Threading.Tasks
spec.csharp:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Threading
name: Threading
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading
- name: .
- uid: System.Threading.Tasks
name: Tasks
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks
spec.vb:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Threading
name: Threading
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading
- name: .
- uid: System.Threading.Tasks
name: Tasks
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks
- uid: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync*
commentId: Overload:adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync
href: adas_core.Application.Services.Interfaces.ICacheService.html#adas_core_Application_Services_Interfaces_ICacheService_SetObjectAsync__1_System_String___0_System_Boolean_
name: SetObjectAsync
nameWithType: ICacheService.SetObjectAsync
fullName: adas_core.Application.Services.Interfaces.ICacheService.SetObjectAsync
- uid: '{T}'
commentId: '!:T'
definition: T
name: T
nameWithType: T
fullName: T
- uid: System.Threading.Tasks.Task
commentId: T:System.Threading.Tasks.Task
parent: System.Threading.Tasks
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task
name: Task
nameWithType: Task
fullName: System.Threading.Tasks.Task
- uid: T
name: T
nameWithType: T
fullName: T
- uid: System.Nullable{System.TimeSpan}
commentId: T:System.Nullable{System.TimeSpan}
parent: System
definition: System.Nullable`1
href: https://learn.microsoft.com/dotnet/api/system.timespan
name: TimeSpan?
nameWithType: TimeSpan?
fullName: System.TimeSpan?
spec.csharp:
- uid: System.TimeSpan
name: TimeSpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.timespan
- name: '?'
spec.vb:
- uid: System.TimeSpan
name: TimeSpan
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.timespan
- name: '?'
- uid: System.Nullable`1
commentId: T:System.Nullable`1
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.nullable-1
name: Nullable<T>
nameWithType: Nullable<T>
fullName: System.Nullable<T>
nameWithType.vb: Nullable(Of T)
fullName.vb: System.Nullable(Of T)
name.vb: Nullable(Of T)
spec.csharp:
- uid: System.Nullable`1
name: Nullable
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.nullable-1
- name: <
- name: T
- name: '>'
spec.vb:
- uid: System.Nullable`1
name: Nullable
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.nullable-1
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: System.TimeSpan
commentId: T:System.TimeSpan
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.timespan
name: TimeSpan
nameWithType: TimeSpan
fullName: System.TimeSpan
- uid: adas_core.Application.Services.Interfaces.ICacheService.DeleteObjectAsync*
commentId: Overload:adas_core.Application.Services.Interfaces.ICacheService.DeleteObjectAsync
href: adas_core.Application.Services.Interfaces.ICacheService.html#adas_core_Application_Services_Interfaces_ICacheService_DeleteObjectAsync_System_String_
name: DeleteObjectAsync
nameWithType: ICacheService.DeleteObjectAsync
fullName: adas_core.Application.Services.Interfaces.ICacheService.DeleteObjectAsync
- uid: adas_core.Application.Services.Interfaces.ICacheService.DeleteByPatternAsync*
commentId: Overload:adas_core.Application.Services.Interfaces.ICacheService.DeleteByPatternAsync
href: adas_core.Application.Services.Interfaces.ICacheService.html#adas_core_Application_Services_Interfaces_ICacheService_DeleteByPatternAsync_System_String_
name: DeleteByPatternAsync
nameWithType: ICacheService.DeleteByPatternAsync
fullName: adas_core.Application.Services.Interfaces.ICacheService.DeleteByPatternAsync
- uid: System.Threading.Tasks.Task{System.Int64}
commentId: T:System.Threading.Tasks.Task{System.Int64}
parent: System.Threading.Tasks
definition: System.Threading.Tasks.Task`1
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<long>
nameWithType: Task<long>
fullName: System.Threading.Tasks.Task<long>
nameWithType.vb: Task(Of Long)
fullName.vb: System.Threading.Tasks.Task(Of Long)
name.vb: Task(Of Long)
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- uid: System.Int64
name: long
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int64
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- uid: System.Int64
name: Long
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int64
- name: )
- uid: adas_core.Application.Services.Interfaces.ICacheService.CleanCache*
commentId: Overload:adas_core.Application.Services.Interfaces.ICacheService.CleanCache
href: adas_core.Application.Services.Interfaces.ICacheService.html#adas_core_Application_Services_Interfaces_ICacheService_CleanCache
name: CleanCache
nameWithType: ICacheService.CleanCache
fullName: adas_core.Application.Services.Interfaces.ICacheService.CleanCache
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetValueAsync*
commentId: Overload:adas_core.Application.Services.Interfaces.ICacheService.GetOrSetValueAsync
href: adas_core.Application.Services.Interfaces.ICacheService.html#adas_core_Application_Services_Interfaces_ICacheService_GetOrSetValueAsync_System_String_System_Func_System_Threading_Tasks_Task_System_String___System_Nullable_System_TimeSpan__
name: GetOrSetValueAsync
nameWithType: ICacheService.GetOrSetValueAsync
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetValueAsync
- uid: System.Func{System.Threading.Tasks.Task{System.String}}
commentId: T:System.Func{System.Threading.Tasks.Task{System.String}}
parent: System
definition: System.Func`1
href: https://learn.microsoft.com/dotnet/api/system.func-1
name: Func<Task<string>>
nameWithType: Func<Task<string>>
fullName: System.Func<System.Threading.Tasks.Task<string>>
nameWithType.vb: Func(Of Task(Of String))
fullName.vb: System.Func(Of System.Threading.Tasks.Task(Of String))
name.vb: Func(Of Task(Of String))
spec.csharp:
- uid: System.Func`1
name: Func
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-1
- name: <
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- uid: System.String
name: string
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
- name: '>'
- name: '>'
spec.vb:
- uid: System.Func`1
name: Func
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-1
- name: (
- name: Of
- name: " "
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- uid: System.String
name: String
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
- name: )
- name: )
- uid: System.Threading.Tasks.Task{System.String}
commentId: T:System.Threading.Tasks.Task{System.String}
parent: System.Threading.Tasks
definition: System.Threading.Tasks.Task`1
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<string>
nameWithType: Task<string>
fullName: System.Threading.Tasks.Task<string>
nameWithType.vb: Task(Of String)
fullName.vb: System.Threading.Tasks.Task(Of String)
name.vb: Task(Of String)
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- uid: System.String
name: string
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- uid: System.String
name: String
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
- name: )
- uid: System.Func`1
commentId: T:System.Func`1
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-1
name: Func<TResult>
nameWithType: Func<TResult>
fullName: System.Func<TResult>
nameWithType.vb: Func(Of TResult)
fullName.vb: System.Func(Of TResult)
name.vb: Func(Of TResult)
spec.csharp:
- uid: System.Func`1
name: Func
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-1
- name: <
- name: TResult
- name: '>'
spec.vb:
- uid: System.Func`1
name: Func
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-1
- name: (
- name: Of
- name: " "
- name: TResult
- name: )
- uid: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync*
commentId: Overload:adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync
href: adas_core.Application.Services.Interfaces.ICacheService.html#adas_core_Application_Services_Interfaces_ICacheService_GetOrSetObjectAsync__1_System_String_System_Func_System_Threading_Tasks_Task___0___System_Nullable_System_TimeSpan__System_Threading_CancellationToken_
name: GetOrSetObjectAsync
nameWithType: ICacheService.GetOrSetObjectAsync
fullName: adas_core.Application.Services.Interfaces.ICacheService.GetOrSetObjectAsync
- uid: System.Func{System.Threading.Tasks.Task{{T}}}
commentId: T:System.Func{System.Threading.Tasks.Task{``0}}
parent: System
definition: System.Func`1
href: https://learn.microsoft.com/dotnet/api/system.func-1
name: Func<Task<T>>
nameWithType: Func<Task<T>>
fullName: System.Func<System.Threading.Tasks.Task<T>>
nameWithType.vb: Func(Of Task(Of T))
fullName.vb: System.Func(Of System.Threading.Tasks.Task(Of T))
name.vb: Func(Of Task(Of T))
spec.csharp:
- uid: System.Func`1
name: Func
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-1
- name: <
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- name: T
- name: '>'
- name: '>'
spec.vb:
- uid: System.Func`1
name: Func
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.func-1
- name: (
- name: Of
- name: " "
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: )
- uid: System.Threading.CancellationToken
commentId: T:System.Threading.CancellationToken
parent: System.Threading
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken
name: CancellationToken
nameWithType: CancellationToken
fullName: System.Threading.CancellationToken
- uid: System.Threading
commentId: N:System.Threading
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System.Threading
nameWithType: System.Threading
fullName: System.Threading
spec.csharp:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Threading
name: Threading
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading
spec.vb:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Threading
name: Threading
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading
- uid: adas_core.Domain.Models.GroupedObservations.GroupedField
commentId: T:adas_core.Domain.Models.GroupedObservations.GroupedField
parent: adas_core.Domain.Models.GroupedObservations
href: adas_core.Domain.Models.GroupedObservations.GroupedField.html
name: GroupedField
nameWithType: GroupedField
fullName: adas_core.Domain.Models.GroupedObservations.GroupedField
- uid: MongoDB.Bson.ObjectId
commentId: T:MongoDB.Bson.ObjectId
parent: MongoDB.Bson
isExternal: true
name: ObjectId
nameWithType: ObjectId
fullName: MongoDB.Bson.ObjectId
- uid: adas_core.Domain.Models.GroupedObservations
commentId: N:adas_core.Domain.Models.GroupedObservations
href: adas_core.html
name: adas_core.Domain.Models.GroupedObservations
nameWithType: adas_core.Domain.Models.GroupedObservations
fullName: adas_core.Domain.Models.GroupedObservations
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.Models
name: Models
href: adas_core.Domain.Models.html
- name: .
- uid: adas_core.Domain.Models.GroupedObservations
name: GroupedObservations
href: adas_core.Domain.Models.GroupedObservations.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.Models
name: Models
href: adas_core.Domain.Models.html
- name: .
- uid: adas_core.Domain.Models.GroupedObservations
name: GroupedObservations
href: adas_core.Domain.Models.GroupedObservations.html
- uid: MongoDB.Bson
commentId: N:MongoDB.Bson
isExternal: true
name: MongoDB.Bson
nameWithType: MongoDB.Bson
fullName: MongoDB.Bson
spec.csharp:
- uid: MongoDB
name: MongoDB
isExternal: true
- name: .
- uid: MongoDB.Bson
name: Bson
isExternal: true
spec.vb:
- uid: MongoDB
name: MongoDB
isExternal: true
- name: .
- uid: MongoDB.Bson
name: Bson
isExternal: true