BO4E.Extensions/BusinessObjects/Energiemenge/EnergiemengeExtension.cs
/// <summary>
///     Get Zeitraum covered by Energiemenge.
/// </summary>
/// <param name="menge">Energiemenge</param>
/// <returns>
///     Zeitraum ranging from the earliest <see cref="Verbrauch.Startdatum" /> to the latest
///     <see cref="Verbrauch.Enddatum" />
/// </returns>
Get Zeitraum covered by Energiemenge.
Get Zeitraum covered by Energiemenge .
public static Zeitraum GetZeitraum(this BO.Energiemenge menge)
        {
            using (MiniProfiler.Current.Step(nameof(GetZeitraum)))
            {
                var zeitraum = new Zeitraum
                {
                    Startdatum = GetMinDate(menge),
                    Enddatum = GetMaxDate(menge)
                };
                return zeitraum;
            }
        }
public static Zeitraum GetZeitraum ( this BO . Energiemenge menge ) { using ( MiniProfiler . Current . Step ( nameof ( GetZeitraum ) ) ) { var zeitraum = new Zeitraum { Startdatum = GetMinDate ( menge ) , Enddatum = GetMaxDate ( menge ) } ; return zeitraum ; } }
Get Zeitraum covered by Energiemenge.
Get Zeitraum covered by Energiemenge .
Zeitraum ranging from the earliest  to the latest
Zeitraum ranging from the earliest to the latest
BO.Energiemenge
this
menge
None