using System;
using Avalonia.Media;

namespace InABox.Avalonia.Converters
{
    public class BooleanToColorConverter : AbstractConverter<bool,IBrush>
    {
        
        public IBrush False{ get; set; }
        
        public IBrush True { get; set; }
        
        protected override IBrush Convert(bool value, object parameter = null)
        {
            return value
                ? True
                : False;
        }

    }
}