5 instantiations of CacheResult
Microsoft.Build (5)
BackEnd\Components\ProjectCache\Experimental\CacheResult.cs (5)
81
return new
CacheResult
(CacheResultType.CacheHit, buildResult);
86
return new
CacheResult
(CacheResultType.CacheHit, proxyTargets: proxyTargets);
93
return new
CacheResult
(CacheResultType.CacheHit, ConstructBuildResult(targetResults));
99
return new
CacheResult
(resultType);
104
return new
CacheResult
(e);
8 references to CacheResult
Microsoft.Build (8)
BackEnd\Components\ProjectCache\CacheResult.cs (1)
136
internal static CacheResult FromExperimental(Experimental.ProjectCache.
CacheResult
experimentalResult)
BackEnd\Components\ProjectCache\Experimental\CacheResult.cs (5)
79
public static
CacheResult
IndicateCacheHit(BuildResult buildResult)
84
public static
CacheResult
IndicateCacheHit(ProxyTargets proxyTargets)
89
public static
CacheResult
IndicateCacheHit(IReadOnlyCollection<PluginTargetResult> targetResults)
96
public static
CacheResult
IndicateNonCacheHit(CacheResultType resultType)
102
internal static
CacheResult
IndicateException(Exception e)
BackEnd\Components\ProjectCache\Experimental\ProjectCachePluginBase.cs (1)
36
public abstract Task<
CacheResult
> GetCacheResultAsync(
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
632
Experimental.ProjectCache.
CacheResult
cacheResultExp = await experimentalPlugin.GetCacheResultAsync(buildRequest, experimentalPluginLogger, cancellationToken);