public override void ChangeValue(int valueIndex)
            {
                var value = valueIndex == 0;
                ICodeStyleOption option = GetOption();

                Updater.QueueUpdate(_option, option.WithValue(value));
            }
            public override void ChangeValue(int valueIndex)
            {
                ICodeStyleOption option = GetOption();

                Location = Location with {
                    LocationKind = LocationKind.EditorConfig
                };
                Updater.QueueUpdate(_option, option.WithValue(_enumValues[valueIndex]));
            }
            protected override void ChangeSeverity(NotificationOption2 severity)
            {
                ICodeStyleOption option = GetOption();

                Location = Location with {
                    LocationKind = LocationKind.EditorConfig
                };
                Updater.QueueUpdate(_option, option.WithNotification(severity));
            }
            protected override void ChangeSeverity(NotificationOption2 severity)
            {
                ICodeStyleOption option = GetOption();

                Updater.QueueUpdate(_option, option.WithNotification(severity));
            }
예제 #5
0
            public override void ChangeValue(int valueIndex)
            {
                ICodeStyleOption option = GetOption();

                Updater.QueueUpdate(_option, option.WithValue(_enumValues[valueIndex]));
            }