public void Add(ISndr sound, WeatherSoundTypes type) { EnsureWritable(); AddField(new WeatherSoundItem() { Sound = sound.ToFormId(), Type = type.ToWeatherSoundType() }, false); }
public static WeatherSoundType ToWeatherSoundType(this WeatherSoundTypes value) { return(EnumConverter.ConvertByName <WeatherSoundType>(value)); }