Ejemplo n.º 1
0
 public async Task <IAssociation> AssociateAsync(INode otherNode, QName associationTypeQName, Directionality directionality)
 {
     return(await AssociateAsync(otherNode, associationTypeQName, directionality, null));
 }
Ejemplo n.º 2
0
 public async Task <IAssociation> AssociateAsync(INode targetNode, QName associationTypeQName, JObject data)
 {
     return(await AssociateAsync(targetNode, associationTypeQName, Directionality.DIRECTED, data));
 }
Ejemplo n.º 3
0
 public async Task <List <IAssociation> > AssociationsAsync(QName associationTypeQName)
 {
     return(await AssociationsAsync(associationTypeQName, Direction.ANY, null));
 }
Ejemplo n.º 4
0
 public Task <IAssociation> ChildOfAsync(INode sourceNode)
 {
     return(AssociateOfAsync(sourceNode, QName.create("a:child")));
 }
Ejemplo n.º 5
0
 public Task <IAssociation> AssociateOfAsync(INode sourceNode, QName associationTypeQName, JObject data = null)
 {
     return(sourceNode.AssociateAsync(this, associationTypeQName, Directionality.DIRECTED, data));
 }
Ejemplo n.º 6
0
 public Task UnassociateAsync(INode targetNode, QName associationTypeQName)
 {
     return(UnassociateAsync(targetNode, associationTypeQName, Directionality.DIRECTED));
 }