Пример #1
0
 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));
 }
Пример #3
0
 protected AbstractEntityAuditor(string entityName, IAuditableMetaData meta)
 {
     if (entityName == null)
     {
         throw new ArgumentNullException("entityName");
     }
     if (meta == null)
     {
         throw new ArgumentNullException("meta");
     }
     EntityName = entityName;
     Meta       = meta;
 }
 protected AbstractEntityAuditor(string entityName, IAuditableMetaData meta)
 {
     if (entityName == null)
     {
         throw new ArgumentNullException("entityName");
     }
     if (meta == null)
     {
         throw new ArgumentNullException("meta");
     }
     EntityName = entityName;
     Meta = meta;
 }