Esempio n. 1
0
 //public abstract void SetCustomInfoFields<T>(T obj, ref DeviceInfo info); probably no point in making this generic
 public abstract void SetCustomInfoFields(Assembly assem, object obj, ref DeviceInfo info);
Esempio n. 2
0
 public override void SetCustomInfoFields(Assembly assem, object obj, ref DeviceInfo info)
 {
     info.length = ((IConstructDevice)assem).Length;
     info.width  = ((IConstructDevice)assem).Width;
 }