public EdgeStatement(NodeId fromId, NodeId toId, IImmutableDictionary<Id, Id> attributes) : base(attributes) { if (fromId == null) { throw new ArgumentNullException("fromId"); } if (toId == null) { throw new ArgumentNullException("toId"); } this.fromId = fromId; this.toId = toId; }
public static EdgeStatement For(NodeId fromId, NodeId toId) { return new EdgeStatement(fromId, toId, ImmutableDictionary<Id, Id>.Empty); }