ARCed.Scintilla.Configuration.Configuration.ReadHotspot C# (CSharp) 메소드

ReadHotspot() 개인적인 메소드

private ReadHotspot ( XmlReader reader ) : void
reader XmlReader
리턴 void
        private void ReadHotspot(XmlReader reader)
        {
            if (reader.HasAttributes)
            {
                while (reader.MoveToNextAttribute())
                {
                    string attrName = reader.Name.ToLower();
                    switch (attrName)
                    {
                        case "activebackcolor":
                            this._hotspot_ActiveBackColor = this.getColor(reader.Value);
                            break;
                        case "activeforecolor":
                            this._hotspot_ActiveForeColor = this.getColor(reader.Value);
                            break;
                        case "activeunderline":
                            this._hotspot_ActiveUnderline = this.getBool(reader.Value);
                            break;
                        case "singleline":
                            this._hotspot_SingleLine = this.getBool(reader.Value);
                            break;
                        case "useactivebackcolor":
                            this._hotspot_UseActiveBackColor = this.getBool(reader.Value);
                            break;
                        case "useactiveforecolor":
                            this._hotspot_UseActiveForeColor = this.getBool(reader.Value);
                            break;
                    }
                }

                reader.MoveToElement();
            }

            reader.Skip();
        }