Exemplo n.º 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));
 }
Exemplo n.º 4
0
 protected override bool CheckEqualityUsingOperator(DomainObject <Currency> other)
 {
     return(CheckEquality((Currency)other));
 }
 protected override bool CheckEqualityUsingOperator(DomainObject <Address> other)
 {
     return(CheckEquality((UnitedStatesAddress)other));
 }
Exemplo n.º 6
0
        protected override bool CheckEqualityUsingOperator(DomainObject <Name> other)
        {
            var name = (Name)other;

            return(CheckEquality(name));
        }
Exemplo n.º 7
0
 protected abstract bool CheckEqualityUsingOperator(DomainObject <TType> other);
 protected override bool CheckEqualityUsingOperator(DomainObject <HourlyRateValue> other)
 {
     return(CheckEquality((HourlyRateValue)other));
 }