File: parent\dotnet\ToolPackage\ILocalToolsResolverCache.cs
Web Access
Project: dotnet-aot.csproj (dotnet-aot)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#nullable disable

namespace Microsoft.DotNet.Cli.ToolPackage;

internal interface ILocalToolsResolverCache
{
    void Save(
        IDictionary<RestoredCommandIdentifier, ToolCommand> restoredCommandMap);

    bool TryLoad(
        RestoredCommandIdentifier restoredCommandIdentifier,
        out ToolCommand toolCommand);
}