コード例 #1
0
 public override void LoadInfo()
 {
     ExpressObjectList.Clear();
     TargetObject.ExpressObjectList.ForEach(v =>
     {
         ExpressObjectList.Add(new ExpressObjectViewModel()
         {
             TargetObject = v
         });
     });
     base.LoadInfo();
 }
コード例 #2
0
        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);
        }