// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace Microsoft.Extensions.Localization
{
///
/// Represents a cache of string names in resources.
///
public interface IResourceNamesCache
{
///
/// Adds a set of resource names to the cache by using the specified function, if the name does not already exist.
///
/// The resource name to add string names for.
/// The function used to generate the string names for the resource.
/// The string names for the resource.
IList GetOrAdd(string name, Func> valueFactory);
}
}