예제 #1
0
 public static void CommunicatePrice(EstateAgent estateAgent, EstateAgency estate, EstateFeeCalculator estateFeeCalculator)
 {
     System.Console.WriteLine($"Estate price: {estateAgent.GetEstatePrice(estate, estateFeeCalculator)}");
 }
예제 #2
0
 public static void CommunicateType(EstateAgent estateAgent, EstateAgency estate)
 {
     System.Console.WriteLine($"Estate type: {estateAgent.GetEstateType(estate)}");
 }