예제 #1
0
        public void SetFlag(ChannelFlag flag, bool value)
        {
            var optionKey  = flag.ToOptionKey();
            var choiceDesc = ChoiceKeys.BooleanToChoice(value);

            _config.SetChoice(optionKey, choiceDesc, _channelId);
        }
예제 #2
0
 public void TestChannelFlag_ToOptionKey_RoundTrip(ChannelFlag flag)
 {
     Assert.Equal(flag, flag.ToOptionKey().ToChannelFlag());
 }