protected override HashCodeBuilder CalculateHashCode()
 {
     return(HashCodeBuilder
            .CreateNew()
            .Add(EmployeeId.GetHashCodeBuilder())
            .Add(Name.GetHashCodeBuilder())
            .Add(Address.GetHashCodeBuilder()));
 }
 protected override HashCodeBuilder CalculateHashCode()
 {
     return(HashCodeBuilder.CreateNew()
            .Add(CareOf.GetHashCodeBuilder())
            .WithCaseInsensitiveString(Line1)
            .WithCaseInsensitiveString(City)
            .WithCaseInsensitiveString(Country)
            .Build());
 }
Esempio n. 3
0
 protected override HashCodeBuilder CalculateHashCode()
 {
     return(HashCodeBuilder.CreateNew()
            .WithCaseInsensitiveString(FirstName)
            .WithCaseInsensitiveString(MiddleName)
            .WithCaseInsensitiveString(LastName)
            .WithCaseInsensitiveString(Suffix)
            .WithCaseInsensitiveString(Title)
            .Build());
 }
 protected override HashCodeBuilder CalculateHashCode()
 {
     return(HashCodeBuilder.CreateNew().Add(RateValue.GetHashCodeBuilder()));
 }
Esempio n. 5
0
 protected override HashCodeBuilder CalculateHashCode()
 {
     return(HashCodeBuilder.CreateNew().WithDecimal(Value));
 }
Esempio n. 6
0
 protected override HashCodeBuilder CalculateHashCode()
 {
     return(HashCodeBuilder.CreateNew().Add(base.CalculateHashCode()));
 }
 protected override HashCodeBuilder CalculateHashCode()
 {
     return HashCodeBuilder.CreateNew()
         .WithCaseInsensitiveString(Value)
         .Build();
 }
 protected override HashCodeBuilder CalculateHashCode()
 {
     return(HashCodeBuilder.CreateNew()
            .WithCaseInsensitiveString(Abbreviation)
            .Build());
 }