Esempio n. 1
0
 public static VirtualDevice Read(BinaryReader reader)
 {
     return(new VirtualDevice(
                DeviceScreen.Read(reader),
                (DeviceOrientation)reader.ReadInt32()));
 }
Esempio n. 2
0
 public VirtualDevice(DeviceScreen screen, DeviceOrientation orientation)
 {
     Screen      = screen;
     Orientation = orientation;
 }
Esempio n. 3
0
 public static void Write(BinaryWriter writer, VirtualDevice virtualDevice)
 {
     DeviceScreen.Write(writer, virtualDevice.Screen);
     writer.Write((int)virtualDevice.Orientation);
 }