コード例 #1
0
        public static Boolean IsDefined(this ChargingLocation ChargingLocation)

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

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