private void CompareUserProperty(UserProperty a, UserProperty b) { if (a == null || b == null) { Assert.IsTrue(a == null ? (b == null) : (b != null)); return; } Assert.AreEqual(a.ValueType, b.ValueType); Assert.AreEqual(a.Name, b.Name); Assert.AreEqual(a.GetValue(), b.GetValue()); }
public VariantUserProperty(UserProperty userProperty) { Name = userProperty.Name; Value = userProperty.GetValue(); }