4 using System.Diagnostics;
5 using SiliconStudio.Core.IO;
6 using SiliconStudio.Core.Reflection;
7 using SiliconStudio.Core.Serialization;
9 namespace SiliconStudio.Assets.Analysis
14 [DebuggerDisplay(
"{Path}")]
26 this.reference = reference;
27 this.updateReference = updateReference;
38 public object Reference
53 reference = updateReference(guid, location);
59 private readonly Func<Guid?, string, object> updateReference;
61 private object reference;
void UpdateReference(Guid?guid, string location)
Updates the reference.
Updateable reference link returned by AssetReferenceAnalysis.Visit.
readonly MemberPath Path
The path to the member holding this reference.
Allows to get/set a property/field value on a deeply nested object instance (supporting members...
AssetReferenceLink(MemberPath path, object reference, Func< Guid?, string, object > updateReference)
Initializes a new instance of the AssetReferenceLink struct.