using Avalonia.Data.Converters; namespace SourceGit.Converters { public static class IntConverters { public static readonly FuncValueConverter IsGreaterThanZero = new FuncValueConverter(v => v > 0); public static readonly FuncValueConverter IsZero = new FuncValueConverter(v => v == 0); public static readonly FuncValueConverter IsOne = new FuncValueConverter(v => v == 1); public static readonly FuncValueConverter IsNotOne = new FuncValueConverter(v => v != 1); } }