CacheContext Class

Definition

Holds various information about the current msbuild execution that the cache might use. The cache may need to know about the top level projects or the entire project graph, so MSBuild provides a graph when one is available. When it isn't available, MSBuild provides the top level projects and the plugin can construct its own graph based on those. So either Graphis null, or GraphEntryPoints is null. But not both.

public ref class CacheContext
public class CacheContext
type CacheContext = class
Public Class CacheContext
Inheritance
CacheContext

Constructors

CacheContext(IReadOnlyDictionary<String,String>, MSBuildFileSystemBase, ProjectGraph, IReadOnlyCollection<ProjectGraphEntryPoint>)

Properties

FileSystem
Graph
GraphEntryPoints
MSBuildExePath
PluginSettings

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to