Hi,
Here is a simple test case showing a problem with populating property value with boolean type. Is this a system problem or am I missing something?
Version: 4.0.54
Thanks!
public class A
{
private bool _active = true;
public bool Active
{
get { return _active; }
set { _active = value; }
}
}
public class B:A
{
}
[Test]
public void TestMethod1()
{
// ServiceStack.Text
var a = new A();
var b = new B
{
Active = false
};
a.PopulateInstance(b);
Assert.IsFalse(a.Active);
}