public void SetFlag(ChannelFlag flag, bool value) { var optionKey = flag.ToOptionKey(); var choiceDesc = ChoiceKeys.BooleanToChoice(value); _config.SetChoice(optionKey, choiceDesc, _channelId); }
public void TestChannelFlag_ToOptionKey_RoundTrip(ChannelFlag flag) { Assert.Equal(flag, flag.ToOptionKey().ToChannelFlag()); }