Exemplo n.º 1
0
        public static Boolean IsDefined(this ChargingLocation ChargingLocation)

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

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