Interface IKeyValueRepository
Namespace: Umbraco.Cms.Core.Persistence.Repositories
Assembly: Umbraco.Core.dll
Syntax
public interface IKeyValueRepository : IReadRepository<string, IKeyValue>, IWriteRepository<IKeyValue>, IRepository
Methods
View SourceFindByKeyPrefix(string)
Returns key/value pairs for all keys with the specified prefix.
Declaration
IReadOnlyDictionary<string, string?>? FindByKeyPrefix(string keyPrefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | keyPrefix |
Returns
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, string> |