public bool Equals(IAuditableMetaData other) { if (ReferenceEquals(null, other)) { return false; } if (ReferenceEquals(this, other)) { return true; } return Equals(other.EntityName, entityName); }
public bool Equals(IAuditableMetaData other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.EntityName, entityName)); }
protected AbstractEntityAuditor(string entityName, IAuditableMetaData meta) { if (entityName == null) { throw new ArgumentNullException("entityName"); } if (meta == null) { throw new ArgumentNullException("meta"); } EntityName = entityName; Meta = meta; }