public ItemCollection GetValues() { var result = new ItemCollection(); result.AddRange(VirtualPieses.CreateVirtualPieseInfoArray() .Select(o => new Item() { DisplayName = o.Caption, Value = o })); return(result); }
public VirtualPieseInfo(string caption, string beepSource) { Caption = caption; Sequience = VirtualPieses.CreateSequenceFromBeepString(beepSource); }