3 types derived from ProjectCachePluginBase
Microsoft.Build.Engine.UnitTests (3)
ProjectCache\ProjectCacheTests.cs (3)
210
public class DelegatingMockCache :
ProjectCachePluginBase
250
public class ConfigurableMockCache :
ProjectCachePluginBase
278
public class InstanceMockCache :
ProjectCachePluginBase
11 references to ProjectCachePluginBase
Microsoft.Build (11)
BackEnd\Components\ProjectCache\ProjectCacheDescriptor.cs (1)
33
public static ProjectCacheDescriptor FromInstance(
ProjectCachePluginBase
pluginInstance, IReadOnlyDictionary<string, string>? pluginSettings = null)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (10)
266
if (pluginInstance is
ProjectCachePluginBase
currentPlugin)
404
if (typeof(
ProjectCachePluginBase
).IsAssignableFrom(pluginType))
406
return (
ProjectCachePluginBase
)Activator.CreateInstance(pluginType)!;
431
Type? type = GetTypes<
ProjectCachePluginBase
>(assembly).FirstOrDefault();
626
if (plugin.PluginInstance is
ProjectCachePluginBase
currentPlugin)
654
HandlePluginException(e, nameof(
ProjectCachePluginBase
.GetCacheResultAsync));
911
else if (plugin.PluginInstance is
ProjectCachePluginBase
currentPlugin)
919
HandlePluginException(e, nameof(
ProjectCachePluginBase
.HandleProjectFinishedAsync));
994
else if (plugin.PluginInstance is
ProjectCachePluginBase
currentPlugin)
1004
HandlePluginException(e, nameof(
ProjectCachePluginBase
.EndBuildAsync));