4 types derived from ProjectCachePluginBase
Microsoft.Build.Engine.UnitTests (3)
ProjectCache\ProjectCacheTests.cs (3)
193
public class DelegatingMockCache :
ProjectCachePluginBase
233
public class ConfigurableMockCache :
ProjectCachePluginBase
261
public class InstanceMockCache :
ProjectCachePluginBase
ProjectCachePlugin (1)
AssemblyMockCache.cs (1)
18
public class AssemblyMockCache :
ProjectCachePluginBase
11 references to ProjectCachePluginBase
Microsoft.Build (11)
BackEnd\Components\ProjectCache\ProjectCacheDescriptor.cs (3)
13
ProjectCachePluginBase
? pluginInstance)
27
public
ProjectCachePluginBase
? PluginInstance { get; }
32
public static ProjectCacheDescriptor FromInstance(
ProjectCachePluginBase
pluginInstance, IReadOnlyDictionary<string, string>? pluginSettings = null)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (8)
57
ProjectCachePluginBase
? Instance,
207
ProjectCachePluginBase
pluginInstance;
338
private static
ProjectCachePluginBase
GetPluginInstanceFromType(Type pluginType)
342
return (
ProjectCachePluginBase
)Activator.CreateInstance(pluginType)!;
355
var type = GetTypes<
ProjectCachePluginBase
>(assembly).FirstOrDefault();
557
HandlePluginException(e, nameof(
ProjectCachePluginBase
.GetCacheResultAsync));
779
HandlePluginException(e, nameof(
ProjectCachePluginBase
.HandleProjectFinishedAsync));
848
HandlePluginException(e, nameof(
ProjectCachePluginBase
.EndBuildAsync));