3 instantiations of CriteriaKey
NuGet.Commands (3)
RestoreCommand\LockFileBuilderCache.cs (3)
51var key = new CriteriaKey(graph.TargetGraphName, framework); 72var key = new CriteriaKey(graph.TargetGraphName, framework); 117var criteriaKey = new CriteriaKey(graph.TargetGraphName, framework);
8 references to CriteriaKey
NuGet.Commands (8)
RestoreCommand\LockFileBuilderCache.cs (8)
31private readonly ConcurrentDictionary<CriteriaKey, List<(List<SelectionCriteria>, bool)>> _criteriaSets = 34private readonly ConcurrentDictionary<(CriteriaKey, string path, string aliases, LibraryIncludeFlags, int dependencyCount), Lazy<(LockFileTargetLibrary, bool, NuGetFramework, NuGetFramework)>> _lockFileTargetLibraryCache = 51var key = new CriteriaKey(graph.TargetGraphName, framework); 72var key = new CriteriaKey(graph.TargetGraphName, framework); 117var criteriaKey = new CriteriaKey(graph.TargetGraphName, framework); 123private class CriteriaKey : IEquatable<CriteriaKey> 146public bool Equals(CriteriaKey other) 166return Equals(obj as CriteriaKey);