|
@@ -11,7 +11,7 @@ namespace InABox.Core
|
|
|
|
|
|
public Dimensions() : base() { }
|
|
|
|
|
|
- public Dimensions(Func<Entity> entity) : base(entity) { }
|
|
|
+ public Dimensions(Func<BaseObject> entity) : base(entity) { }
|
|
|
|
|
|
[EditorSequence(1)]
|
|
|
[RequiredColumn]
|
|
@@ -65,7 +65,7 @@ namespace InABox.Core
|
|
|
protected override void Init()
|
|
|
{
|
|
|
base.Init();
|
|
|
- Unit = Activator.CreateInstance(typeof(TLink), new object[] { new Func<Entity>(LinkedEntity) }) as TLink;
|
|
|
+ Unit = Activator.CreateInstance(typeof(TLink), new object[] { new Func<BaseObject>(LinkedEntity) }) as TLink;
|
|
|
Unit.PropertyChanged += (s, e) =>
|
|
|
{
|
|
|
if(e.PropertyName == "ID")
|