Exemple #1
0
 public static void ReadAll(this IKeyValues values, Action <string, string> callback)
 {
     values.GetKeys().ToList().Each(key => callback(key, values.Get(key)));
 }
        public IEnumerable <string> GetKeys()
        {
            var matchingKeys = _inner.GetKeys().Where(x => x.StartsWith(_prefix));

            return(matchingKeys.Select(x => x.Substring(_prefix.Length)));
        }