@@ -0,0 +1,13 @@
+namespace InABox.Mobile
+{
+ public class BooleanToBooleanConverter: AbstractConverter<bool,bool>
+ {
+
+ public bool Invert { get; set; }
+ protected override bool Convert(bool value, object? parameter = null)
+ return Invert ? !value : value;
+ }
+}
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Linq;
-namespace InABox.Mobile.Any
{
public enum MatchComparison
@@ -1,4 +1,4 @@
public class BooleanMatcher : AbstractMatcher<bool> { }
}
public class DoubleMatcher : AbstractMatcher<double> { }
@@ -1,6 +1,6 @@
using System;
public class GuidMatcher : AbstractMatcher<Guid> { }
public class IntegerMatcher : AbstractMatcher<int> { }