public ClassMemberWithInheritance() { ThroughObject = new MemberObject() { Object = "throughObject" }; ThroughInterface = new MemberInterface(); ThroughBase = new MemberObject() { Object = "throughBase" }; Direct = new MemberObject() { Object = "direct" }; }
protected bool Equals(MemberInterface other) { return(string.Equals(Name, other.Name) && string.Equals(Value, other.Value)); }