DependencyAnalysis
public class DependencyAnalysisNo description is available for this type.
Constructors
Section titled “Constructors”
DependencyAnalysis(DependencyResultCache)
Section titled “DependencyAnalysis(DependencyResultCache)”public DependencyAnalysis(DependencyResultCache cache = null)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
cache |
AssetInventory.DependencyResultCache |
Methods
Section titled “Methods”
NeedsScan(string)
Section titled “NeedsScan(string)”public static bool NeedsScan(string type)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
type |
System.String |
Returns
System.Boolean — No return description is available.
CleanUp()
Section titled “CleanUp()”public static void CleanUp()Cleans up all temporary folders used for dependency analysis. This should be called during application initialization to remove orphaned folders from previous sessions.
Analyze(AssetInfo, CancellationToken)
Section titled “Analyze(AssetInfo, CancellationToken)”public Task Analyze(AssetInfo info, CancellationToken ct)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
info |
AssetInventory.AssetInfo | |
ct |
System.Threading.CancellationToken |
Returns
System.Threading.Tasks.Task — No return description is available.
FindSRPSupportPackage(int, bool)
Section titled “FindSRPSupportPackage(int, bool)”public static Asset FindSRPSupportPackage(int parentAssetId, bool warnOnMultiple = true)Finds the SRP support package for a given parent asset ID based on current render pipeline. This is the shared logic used by both dependency analysis and preview bulk import.
Parameters
| Name | Type | Description |
|---|---|---|
parentAssetId |
System.Int32 | The parent package ID to search for SRP sub-packages |
warnOnMultiple |
System.Boolean | Whether to log a warning when multiple candidates are found |
Returns
AssetInventory.Asset — The SRP support package Asset, or null if none found