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