public TSinkEdge this[int index] {
     get {
         return((TSinkEdge)graphPair.Get(listTwo[index]));
     }
     set {
         throw new System.Exception("The method or operation is not implemented.");
     }
 }
Beispiel #2
0
        public override void ChangeData(IGraph <IGraphEntity, IGraphEdge> sink, IGraphEntity item, object data)
        {
            IGraphPair <IGraphEntity, IThing, IGraphEdge, ILink> graph =
                sink as IGraphPair <IGraphEntity, IThing, IGraphEdge, ILink>;

            if (graph != null)
            {
                var thing = graph.Get(item);
                thing.Data = data;
                item.Data  = data;
            }
        }
 public TSinkItem this [int index] {
     get { return(graphPair.Get(listTwo[index])); }
     set { throw new System.ArgumentException(); }
 }