Exemplo n.º 1
0
 public TSinkEdge this[int index] {
     get {
         return((TSinkEdge)graphPair.Get(listTwo[index]));
     }
     set {
         throw new System.Exception("The method or operation is not implemented.");
     }
 }
Exemplo n.º 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;
            }
        }
Exemplo n.º 3
0
 public TSinkItem this [int index] {
     get { return(graphPair.Get(listTwo[index])); }
     set { throw new System.ArgumentException(); }
 }