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