3 types derived from ProjectCachePluginBase
Microsoft.Build.Engine.UnitTests (3)
ProjectCache\ProjectCacheTests.cs (3)
212
public class DelegatingMockCache :
ProjectCachePluginBase
252
public class ConfigurableMockCache :
ProjectCachePluginBase
280
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));
885
else if (plugin.PluginInstance is
ProjectCachePluginBase
currentPlugin)
893
HandlePluginException(e, nameof(
ProjectCachePluginBase
.HandleProjectFinishedAsync));
968
else if (plugin.PluginInstance is
ProjectCachePluginBase
currentPlugin)
978
HandlePluginException(e, nameof(
ProjectCachePluginBase
.EndBuildAsync));