public override void LoadInfo() { ExpressObjectList.Clear(); TargetObject.ExpressObjectList.ForEach(v => { ExpressObjectList.Add(new ExpressObjectViewModel() { TargetObject = v }); }); base.LoadInfo(); }
public void AddEntityAsExpressObject(IStoryEntityObject obj) { var eo = new ExpressObject(); eo.AddObject(obj); CurrentExpressObject = new ExpressObjectViewModel() { TargetObject = eo }; ExpressObjectList.Add(CurrentExpressObject); TargetObject.ExpressObjectList.Add(CurrentExpressObject.TargetObject); }