예제 #1
0
파일: TrackingId.cs 프로젝트: 3j/dddsample
 public bool has_the_same_value_as(ITrackingId the_other_tracking_id)
 {
     return (the_other_tracking_id != null) &&
            (underlying_id.Equals(the_other_tracking_id.id()));
 }
예제 #2
0
파일: Cargo.cs 프로젝트: 3j/dddsample
 public Cargo(ITrackingId tracking_id, IRouteSpecification route_specification)
 {
     this.underlying_tracking_id = tracking_id;
     this.underlying_route_specification = route_specification;
     this.underlying_origin_location = route_specification.origin();
 }