/// <summary> /// Find a <see cref="StoreKey" /> by part of the key /// </summary> /// <param name="valueToMatch">The value to match as part of the key</param> /// <returns></returns> public async Task <IEnumerable <StoreKey> > FindByKeyPart(string valueToMatch) { return(await _validatorValueStore.FindStoreKeysByKeyPartAsync(valueToMatch)); }
/// <summary> /// Find a <see cref="StoreKey" /> by part of the key /// </summary> /// <param name="valueToMatch">The value to match as part of the key</param> /// <returns></returns> public async Task <IEnumerable <StoreKey> > FindByKeyPart(string valueToMatch, bool ignoreCase = true) { return(await _validatorValueStore.FindStoreKeysByKeyPartAsync(valueToMatch, ignoreCase)); }