コード例 #1
0
ファイル: User.cs プロジェクト: lokeshwer/CarrierPigeons
 public User(Email email, UserName name, string password, UserGroup userGroup)
 {
     this.Email = email;
     this.Name = name;
     this.Password = password;
     UserGroup = userGroup;
 }
コード例 #2
0
ファイル: UserGroup.cs プロジェクト: lokeshwer/CarrierPigeons
 public virtual bool Equals(UserGroup other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.Id == Id && Equals(other.Name, Name);
 }