public ReadOnlyPicnicCache(Func <TValue, TKey> keyProperty, IReadOnlyCacheable <TKey, TValue> readOnlyCacheable)
            : this(readOnlyCacheable)
        {
            ValidateParameterIsNotNull(keyProperty, nameof(keyProperty));

            _keyProperty = keyProperty;
        }
 public ReadOnlyPicnicCache(string keyPropertyName, IReadOnlyCacheable <TKey, TValue> readOnlyCacheable)
     : this(readOnlyCacheable)
 {
     SetKeyProperty(keyPropertyName);
 }
 protected ReadOnlyPicnicCache(IReadOnlyCacheable <TKey, TValue> readOnlyCacheable)
 {
     ValidateParameterIsNotNull(readOnlyCacheable, nameof(readOnlyCacheable));
     ReadOnlyCacheable = readOnlyCacheable;
 }