Manages the simplified key/value store.
Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntaxpublic interface IKeyValueService
Methods View Source FindByKeyPrefix(String)
Returns key/value pairs for all keys with the specified prefix.
DeclarationIReadOnlyDictionary<string, string>? FindByKeyPrefix(string keyPrefix)
Parameters Type Name Description System.String keyPrefix Returns Type Description System.Nullable<IReadOnlyDictionary<System.String, System.String>> View Source GetValue(String)
Gets a value.
Declarationstring GetValue(string key)
Parameters Type Name Description System.String key Returns Type Description System.String View Source SetValue(String, String)
Sets a value.
Declarationvoid SetValue(string key, string value)
Parameters Type Name Description System.String key System.String value View Source SetValue(String, String, String)
Sets a value.
Declarationvoid SetValue(string key, string originValue, string newValue)
Parameters Type Name Description System.String key System.String originValue System.String newValue View Source TrySetValue(String, String, String)
Tries to set a value.
Declarationbool TrySetValue(string key, string originValue, string newValue)
Parameters Type Name Description System.String key System.String originValue System.String newValue Returns Type Description System.Boolean
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4