public static PortType[] All() { return new PortType[] { new PortType() { Name = "Foreign Device Port", Type = typeof(ForeignDevicePortProcess) }, new PortType() { Name = "Ethernet Port", Type = typeof(EthernetPortProcess) } }; }