我有以下類別: public class Person
{
public String FirstName { set; get; }
public String LastName { set; get; }
public Role Role { set; get; }
}
public class Role
{
public String Des
我是extending my Object Property Value Diff但我意識到如果一個對象有太多的屬性,我可能不想區分它們。所以我想出了 public class IgnorePropertyDiffAttribute : System.Attribute
{
}
這樣我就可以標記我想讓diff忽略的屬性。但是我不想用[IgnorePropertyDiff]污染我的域對象。