Example #1
0
        public static Boolean IsDefined(this ChargingLocation ChargingLocation)

        => ChargingLocation != null &&
        (ChargingLocation.EVSEId.HasValue ||
         ChargingLocation.ChargingStationId.HasValue ||
         ChargingLocation.ChargingPoolId.HasValue ||
         ChargingLocation.ChargingStationOperatorId.HasValue);
Example #2
0
        public static Boolean IsNull(this ChargingLocation ChargingLocation)

        => ChargingLocation == null ||
        !(ChargingLocation.EVSEId.HasValue ||
          ChargingLocation.ChargingStationId.HasValue ||
          ChargingLocation.ChargingPoolId.HasValue ||
          ChargingLocation.ChargingStationOperatorId.HasValue);