3 types derived from ProjectCachePluginBase
Microsoft.Build.Engine.UnitTests (3)
ProjectCache\ProjectCacheTests.cs (3)
194
public class DelegatingMockCache :
ProjectCachePluginBase
234
public class ConfigurableMockCache :
ProjectCachePluginBase
262
public class InstanceMockCache :
ProjectCachePluginBase
12 references to ProjectCachePluginBase
Microsoft.Build (12)
BackEnd\Components\ProjectCache\ProjectCacheDescriptor.cs (1)
33
public static ProjectCacheDescriptor FromInstance(
ProjectCachePluginBase
pluginInstance, IReadOnlyDictionary<string, string>? pluginSettings = null)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (11)
266
if (pluginInstance is
ProjectCachePluginBase
currentPlugin)
303
if (pluginInstance is
ProjectCachePluginBase
currentPluginForFileAccess)
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));