private loBlock(DTopic model, LogramView owner) : base(owner) { this.model = model; _pins = new List <loPin>(); this.model.changed += model_changed; }
public loBinding(loPin input, loPin output, LogramView lv) : base(lv) { this.Input = input; this.Output = output; lv.AddVisual(this); }
private loVariable(DTopic model, LogramView lv) : base(lv) { this.model = model; this.Output = new loPin(this, model, false); this.Input = new loPin(this, model, true); Render(3); }
public static loBlock Create(DTopic model, LogramView owner) { var lb = new loBlock(model, owner); owner.AddVisual(lb); model.GetAsync(null).ContinueWith(lb.ModelLoaded, TaskScheduler.FromCurrentSynchronizationContext()); return(lb); }
public static loVariable Create(DTopic model, LogramView lv) { var el = new loVariable(model, lv); lv.AddVisual(el); lv.AddVisual(el.Input); lv.AddVisual(el.Output); model.changed += el.ModelChanged; return(el); }
public loBinding(loPin start, LogramView lv) : base(lv) { if (start.IsInput) { this.Input = null; this.Output = start; } else { this.Input = start; this.Output = null; } Render(3); lv.AddVisual(this); }
protected LiBase(LogramView view, DTopic data) { this._view = view; this.data = data; }
public LiBrick(LogramView view, DTopic data) : base(view, data) { this.Offset = new Vector(50, 50); Render(3); }
protected loElement(LogramView lv) : base(lv) { }
protected loItem(LogramView lv) { this.lv = lv; }