 | RedisAdhocCacheTryGetT Method |
Try to fetch key from the cache
Namespace: SanteDB.Caching.RedisAssembly: SanteDB.Caching.Redis (in SanteDB.Caching.Redis.dll) Version: 3.0.2081-alpha+ce906ccc8091ff0a3c40d1fff3e2485e75a86c5b
Syntaxpublic bool TryGet<T>(
string key,
out T value
)
Public Function TryGet(Of T) (
key As String,
<OutAttribute> ByRef value As T
) As Boolean
public:
generic<typename T>
virtual bool TryGet(
String^ key,
[OutAttribute] T% value
) sealed
abstract TryGet :
key : string *
value : 'T byref -> bool
override TryGet :
key : string *
value : 'T byref -> bool Parameters
- key String
- The key of the object to attempt to fetch
- value T
- The fetched value
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:SanteDB.Caching.Redis.RedisAdhocCache.TryGet``1(System.String,``0@)"]
Return Value
BooleanTrue if the object was fetched
Implements
IAdhocCacheServiceTryGetT(String, T)
See Also