Exemplo 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);
Exemplo n.º 2
0
 public override void SetCustomInfoFields(Assembly assem, object obj, ref DeviceInfo info)
 {
     info.length = ((IConstructDevice)assem).Length;
     info.width  = ((IConstructDevice)assem).Width;
 }