Пример #1
0
 public AssetGraphNodeLinker(AssetPropertyGraphDefinition propertyGraphDefinition)
 {
     this.propertyGraphDefinition = propertyGraphDefinition;
 }
Пример #2
0
 public NodesToOwnerPartVisitor([NotNull] AssetPropertyGraphDefinition propertyGraphDefinition, [NotNull] INodeContainer nodeContainer, object ownerPart)
     : base(propertyGraphDefinition)
 {
     ownerPartNode = (IAssetObjectNode)nodeContainer.GetOrCreateNode(ownerPart);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AssetGraphNodeChangeListener"/> class.
 /// </summary>
 /// <param name="rootNode">The root node of the extended graph to listen to.</param>
 /// <param name="propertyGraphDefinition">The <see cref="AssetPropertyGraphDefinition"/> that describes which nodes represent an object reference.</param>
 public AssetGraphNodeChangeListener(IGraphNode rootNode, [NotNull] AssetPropertyGraphDefinition propertyGraphDefinition)
     : base(rootNode)
 {
     this.propertyGraphDefinition = propertyGraphDefinition ?? throw new ArgumentNullException(nameof(propertyGraphDefinition));
 }