Exemplo n.º 1
0
 public static TherapyPlaceType SetNewIcon(this TherapyPlaceType therapyPlaceType, TherapyPlaceTypeIcon newIcon)
 {
     return(new TherapyPlaceType(therapyPlaceType.Name,
                                 newIcon,
                                 therapyPlaceType.Id));
 }
Exemplo n.º 2
0
 public static TherapyPlaceType SetNewName(this TherapyPlaceType therapyPlaceType, string newName)
 {
     return(new TherapyPlaceType(newName,
                                 therapyPlaceType.IconType,
                                 therapyPlaceType.Id));
 }