<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;

namespace BBT
{
    abstract class AStyle : IStyle
    {

        protected void changeStyle(object sender, IStyle node)
        {
            if ((this.changeStyleEvent != null))
                changeStyleEvent(this, node);
        }

        public abstract Tuple<Color, bool> getColor();      
        public abstract void setColor(Tuple<Color, bool> color);
       
        public delegate void changedStyleEventHandler(object sender, IStyle node);

        public event changedStyleEventHandler changeStyleEvent;

        public abstract void setICon(BitmapImage icon);
        public abstract BitmapImage getIcon();

        public abstract void setActivated(bool active);


        public abstract void setFontsize(int fontSize);

        public abstract double getFontsize();


        public abstract bool getActivated();
    }
}<commit_msg>AStyle.cs kommentiert     getter/setter für Hintergrundfarbe<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;

namespace BBT
{
    /// <summary>
    /// abstrakte klasse für Style um die Events durchzureichen
    /// </summary>
    abstract class AStyle : IStyle
    {

        protected void changeStyle(object sender, IStyle node)
        {
            if ((this.changeStyleEvent != null))
                changeStyleEvent(this, node);
        }

        public abstract Tuple<Color, bool> getColor();      
        public abstract void setColor(Tuple<Color, bool> color);
       
        public delegate void changedStyleEventHandler(object sender, IStyle node);

        public event changedStyleEventHandler changeStyleEvent;

        public abstract void setICon(BitmapImage icon);
        public abstract BitmapImage getIcon();

        public abstract void setActivated(bool active);


        public abstract void setFontsize(int fontSize);

        public abstract double getFontsize();


        public abstract bool getActivated();


        public abstract void setBackgroundColor(Color blub);

        public abstract Color getBackgroundColor();
    }
}
{'fraction_non_alphanumeric': 0.07542372881355933, 'fraction_numerical': 0.0, 'mean_word_length': 2.8704918032786884, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1620576', 'n_tokens_mistral': 597, 'n_tokens_neox': 578, 'n_words': 183}