diff --git a/BO4E.Extensions/BusinessObjects/Energiemenge/EnergiemengeExtension.cs b/BO4E.Extensions/BusinessObjects/Energiemenge/EnergiemengeExtension.cs index d8d74757..2c256b02 100644 --- a/BO4E.Extensions/BusinessObjects/Energiemenge/EnergiemengeExtension.cs +++ b/BO4E.Extensions/BusinessObjects/Energiemenge/EnergiemengeExtension.cs @@ -127,7 +127,7 @@ public static Tuple GetConsumption(this BO.Energiemenge ISet einheiten = new HashSet(em.Energieverbrauch.Select(x => x.Einheit)); if (einheiten.Count > 1) - // z.B. kWh und Wh oder Monat und Jahr... Die liefern IsPure==true. + // z.B. kWh und Wh oder Monat und Jahr... Die liefern IsPure==true. { throw new NotImplementedException("Converting different units of same type is not supported yet."); } @@ -439,7 +439,7 @@ public static bool IsEvenlySpaced(this BO.Energiemenge em, ITimeRange reference, var minDiff = startEndDatumPeriods.Min().TotalSeconds; foreach (var ts in startEndDatumPeriods) if (Math.Abs(ts.TotalSeconds % minDiff) != 0) - // use profiler as logger: + // use profiler as logger: { return false; diff --git a/BO4E/BO/Rechnung.cs b/BO4E/BO/Rechnung.cs index 4c42276c..001bbe86 100644 --- a/BO4E/BO/Rechnung.cs +++ b/BO4E/BO/Rechnung.cs @@ -244,7 +244,7 @@ public Rechnung(JObject sapPrintDocument) : this() if ((jrp["nettobtr"] ?? jrp["NETTOBTR"]).Value() <= 0) { Vorausgezahlt = new Betrag - { Waehrung = waehrungscode, Wert = (jrp["nettobtr"] ?? jrp["NETTOBTR"]).Value() }; + { Waehrung = waehrungscode, Wert = (jrp["nettobtr"] ?? jrp["NETTOBTR"]).Value() }; } } diff --git a/BO4E/meta/CentralEuropeStandardTime.cs b/BO4E/meta/CentralEuropeStandardTime.cs index 5317a503..f23b1cc4 100644 --- a/BO4E/meta/CentralEuropeStandardTime.cs +++ b/BO4E/meta/CentralEuropeStandardTime.cs @@ -22,7 +22,7 @@ static CentralEuropeStandardTime() const string resourceFileName = "BO4E.meta.CentralEuropeStandardTime.json"; using var stream = assembly.GetManifestResourceStream(resourceFileName); if (stream == null) - // this should never ever happen + // this should never ever happen { throw new FileNotFoundException($"The file resource {resourceFileName} was not found."); } diff --git a/BO4E/meta/LenientConverters/LenientJsonSerializerOptionsGenerator.cs b/BO4E/meta/LenientConverters/LenientJsonSerializerOptionsGenerator.cs index a1d2c14e..125bd266 100644 --- a/BO4E/meta/LenientConverters/LenientJsonSerializerOptionsGenerator.cs +++ b/BO4E/meta/LenientConverters/LenientJsonSerializerOptionsGenerator.cs @@ -47,7 +47,7 @@ public static JsonSerializerOptions GetJsonSerializerOptions(this LenientParsing foreach (LenientParsing lp in Enum.GetValues(typeof(LenientParsing))) if (lenient.HasFlag(lp)) - // ReSharper disable once SwitchStatementMissingSomeEnumCasesNoDefault + // ReSharper disable once SwitchStatementMissingSomeEnumCasesNoDefault { switch (lp) { @@ -80,11 +80,11 @@ public static JsonSerializerOptions GetJsonSerializerOptions(this LenientParsing case LenientParsing.STRING_TO_INT: settings.Converters.Add(new LenientSystemTextJsonStringToIntConverter()); break; - // case LenientParsing.EmptyLists: - // converters.Add(new LenientRequiredListConverter()); - // break; + // case LenientParsing.EmptyLists: + // converters.Add(new LenientRequiredListConverter()); + // break; - // no default case because NONE and MOST_LENIENT do not come up with more converters + // no default case because NONE and MOST_LENIENT do not come up with more converters } } //IContractResolver contractResolver; diff --git a/BO4E/meta/LenientConverters/LenientJsonSerializerSettingsGenerator.cs b/BO4E/meta/LenientConverters/LenientJsonSerializerSettingsGenerator.cs index 8126355b..75b4a705 100644 --- a/BO4E/meta/LenientConverters/LenientJsonSerializerSettingsGenerator.cs +++ b/BO4E/meta/LenientConverters/LenientJsonSerializerSettingsGenerator.cs @@ -34,7 +34,7 @@ public static JsonSerializerSettings GetJsonSerializerSettings(this LenientParsi var converters = new List(); foreach (LenientParsing lp in Enum.GetValues(typeof(LenientParsing))) if (lenient.HasFlag(lp)) - // ReSharper disable once SwitchStatementMissingSomeEnumCasesNoDefault + // ReSharper disable once SwitchStatementMissingSomeEnumCasesNoDefault { switch (lp) { @@ -55,11 +55,11 @@ public static JsonSerializerSettings GetJsonSerializerSettings(this LenientParsi case LenientParsing.STRING_TO_INT: converters.Add(new LenientStringToIntConverter()); break; - // case LenientParsing.EmptyLists: - // converters.Add(new LenientRequiredListConverter()); - // break; + // case LenientParsing.EmptyLists: + // converters.Add(new LenientRequiredListConverter()); + // break; - // no default case because NONE and MOST_LENIENT do not come up with more converters + // no default case because NONE and MOST_LENIENT do not come up with more converters } }