Exemplo n.º 1
0
        public void ToStringForPerLanguageOption()
        {
            var option    = new PerLanguageOption <bool>("FooFeature", "BarName", false);
            var optionKey = new OptionKey(option, "BazLanguage");

            var toStringResult = optionKey.ToString();

            Assert.Equal("(BazLanguage) FooFeature - BarName", toStringResult);
        }
Exemplo n.º 2
0
        public void ToStringForOption()
        {
            var option    = new Option <bool>("FooFeature", "BarName");
            var optionKey = new OptionKey(option);

            var toStringResult = optionKey.ToString();

            Assert.Equal("FooFeature - BarName", toStringResult);
        }