Class BuildDependencyManager
Build dependency manager Basically is a container of BuildAssetNode
public class BuildDependencyManager
- Inheritance
-
BuildDependencyManager
Fields
AssetCompilerRegistry
The AssetCompilerRegistry, here mostly for ease of access
public static readonly AssetCompilerRegistry AssetCompilerRegistry
Field Value
Methods
FindNode(AssetItem, Type)
Finds a node, notice that this will not perform an analysis on the node, which must be explicitly called on the node
public BuildAssetNode FindNode(AssetItem item, Type compilationContext)
Parameters
item
AssetItemThe asset item to find
compilationContext
TypeThe context in which the asset is compiled.
Returns
- BuildAssetNode
The build node associated with item or null if it was not found
FindNodes(AssetItem)
Finds all the nodes associated with the asset
public IEnumerable<BuildAssetNode> FindNodes(AssetItem item)
Parameters
item
AssetItemThe asset item to find
Returns
- IEnumerable<BuildAssetNode>
The build nodes associated with item or null if it was not found
FindOrCreateNode(AssetItem, Type)
Finds or creates a node, notice that this will not perform an analysis on the node, which must be explicitly called on the node
public BuildAssetNode FindOrCreateNode(AssetItem item, Type compilationContext)
Parameters
item
AssetItemThe asset item to find or create
compilationContext
TypeThe context in which the asset is compiled.
Returns
- BuildAssetNode
The build node associated with item
RemoveNode(BuildAssetNode)
Removes the node from the build graph
public void RemoveNode(BuildAssetNode node)
Parameters
node
BuildAssetNodeThe node to remove
RemoveNode(AssetItem)
Removes the nodes associated with item from the build graph
public void RemoveNode(AssetItem item)
Parameters
item
AssetItemThe item to use to find nodes to remove