System.ClientModel.Primitives.ClientCache
A cache for storing client instances, ensuring efficient reuse.
Implements an LRU eviction policy.
namespace System.ClientModel.Primitives
{
public class ClientCache
{
public ClientCache(int maxSize);
public T GetClient<T>(object clientId, Func<T> createClient) where T : class;
}
}
namespace System.ClientModel.Primitives
{
}
namespace System.ClientModel.Primitives
{
public class ModelReaderWriterOptions
{
public static ModelReaderWriterOptions Json { get; }
public static ModelReaderWriterOptions Xml { get; }
public string Format { get; }
public ModelReaderWriterOptions(string format);
}
}