public override void ShowSettings() { if (Path == null) { return; } base.ShowSettings(); Console.WriteLine("Firmware\t{0}", Firmware.ToUpper()); Console.WriteLine("Sound Card\t{0}\t{1}", SoundCard, VMware.ValueToDescripton(SoundCard)); Console.WriteLine(); List <string> NIC = NICs; if (NIC.Count > 0) { Console.Write("NICs"); } for (int i = 0; i < NIC.Count; i++) { Console.WriteLine("\t[{0}]\t{1}\t{2}", i, NIC[i], VMware.ValueToDescripton(NIC[i])); } }
public object Convert(object value, Type type, object para, CultureInfo culture) { if (value == null) { return(""); } else { return(VMware.ValueToDescripton(value.ToString())); } }