DependencyData

References
public sealed class DependencyData
Represents the data in a resolved dependency.

Constructors

DependencyData

#
public DependencyData(string file, string name, Guid id, Func<ITree> lazyTreeMethod)
file (string)
name (string)
id (Guid)
lazyTreeMethod (Func<ITree>)

DependencyData

#
public DependencyData(string file, string name, Guid id, ITree tree)
file (string)
name (string)
id (Guid)
tree (ITree)

Properties

File

#
public string File { get; }
Full path to file. This is never null, but the file may (no longer) be there.

Guid

#
public Guid Guid { get; }
Gets the instance ID of the object whose tree was harvested. This may be Guid.Empty if there was no single, clear source object.

Name

#
public string Name { get; }
User name of the object whose tree was harvested.

Tree

#
public ITree Tree { get; }
Gets the cached data tree for this dependency. May be null.

Methods

Merge

#
public static DependencyData Merge(params DependencyData[] data)
Merge one or more data.
data (params DependencyData[])