Ejemplo n.º 1
0
 internal static IDeviceExt ToExt(this IDevice device)
 {
     return((device) switch
     {
         IDeviceExt ext => ext,
         IHADevice ha => new HADeviceExt(ha),
         ILSFSDevice lsfs => new LSFSDeviceExt(lsfs),
         IVTLDevice vtl => new VTLDeviceExt(vtl),
         _ => new DeviceExt(device)
     });
Ejemplo n.º 2
0
 public LSFSDeviceExt(ILSFSDevice lsfs) : base(lsfs)
 {
     lsfsDevice = lsfs;
 }