Class InputSoundcardNameConverter
Provides a type converter that allows editing the input soundcard property in the Plugin Settings dialog.
Inheritance
VE3NEA.HamCockpit.PluginHelpers.SoundcardNameConverter
InputSoundcardNameConverter
Namespace: VE3NEA.HamCockpit.PluginHelpers
Assembly: VE3NEA.HamCockpit.PluginAPI.dll
Syntax
public class InputSoundcardNameConverter : SoundcardNameConverter
Remarks
If an input soundcard selection property in the Settings
object of a plugin needs to be edited
in the Plugin Settings dialog, use this class as a TypeConverter
attribute for that property.
The class populates the dropdown list with the names of available input soundcards and assigns
DeviceID
of the selected soundcard to the property.
Examples
[TypeConverter(typeof(InputSoundcardNameConverter))]
public string Soundcard { get; set; }