Exemple #1
0
 protected override bool CheckEqualityUsingOperator(DomainObject <Money> other)
 {
     return(CheckEquality((Money)other));
 }
 protected override bool CheckEqualityUsingOperator(DomainObject<EmployeeId> other)
 {
     return string.Compare(this.Value, ((EmployeeId) other).Value, StringComparison.OrdinalIgnoreCase) == 0;
 }
 protected override bool CheckEqualityUsingOperator(DomainObject <CommissionRate> other)
 {
     return(CheckEquality((CommissionRate)other));
 }
 protected override bool CheckEqualityUsingOperator(DomainObject <Currency> other)
 {
     return(CheckEquality((Currency)other));
 }
 protected override bool CheckEqualityUsingOperator(DomainObject <Address> other)
 {
     return(CheckEquality((UnitedStatesAddress)other));
 }
Exemple #6
0
        protected override bool CheckEqualityUsingOperator(DomainObject <Name> other)
        {
            var name = (Name)other;

            return(CheckEquality(name));
        }
Exemple #7
0
 protected abstract bool CheckEqualityUsingOperator(DomainObject <TType> other);
 protected override bool CheckEqualityUsingOperator(DomainObject <HourlyRateValue> other)
 {
     return(CheckEquality((HourlyRateValue)other));
 }