public void Execute(IEntityGraphBuilder builder, EntityRegexMatchInfo info)
        {
            List <IEntityList <IEntity> > bigList = AddEntitiesToList(info.GetMatch(), 0, new EntityList <IEntity>());

            for (int i = 0; i < bigList.Count; i++)
            {
                IEntityList <ITrueEntity> oneList          = bigList[i].ConvertToTrueEntityList();
                SubclassRelationship      subclassRelation = new SubclassRelationship(oneList[0] as IClassEntity, oneList[1] as IClassEntity);
                builder.Add(subclassRelation);
            }
        }
 public void Add(SubclassRelationship subclassRelationship)
 {
     Graph.Add(subclassRelationship);
 }
 bool _subclassRelationships_OnAdd(SubclassRelationship item)
 {
     return(BeforeAddNewRelationship(item));
 }
 /// <summary>
 /// Adds SubclassRelationship to the graph.
 /// </summary>
 /// <param name="subclassRelationship"></param>
 public void Add(SubclassRelationship subclassRelationship)
 {
     SubclassRelationships.Add(subclassRelationship);
 }