BO4E.Extensions/BusinessObjects/Energiemenge/EnergiemengeExtensionCompleteness.cs
/// <summary>
///     Generate a <see cref="CompletenessReport" /> for the given configuration. Same as
///     <see cref="GetCompletenessReport(BO4E.BO.Energiemenge,BO4E.Reporting.CompletenessReport.CompletenessReportConfiguration)" />
///     but with all parameters in a configuration container instead of loose arguments.
/// </summary>
/// <param name="em">Energiemenge</param>
/// <param name="config">configuration container</param>
/// <returns></returns>
Generate a  for the given configuration. Same as

but with all parameters in a configuration container instead of loose arguments.
Generate a for the given configuration . Same as but with all parameters in a configuration container instead of loose arguments .
public static CompletenessReport GetCompletenessReport(this BO.Energiemenge em,
            CompletenessReport.CompletenessReportConfiguration config)
        {
            return em.GetCompletenessReport(
                new TimeRange(config.ReferenceTimeFrame.Startdatum.Value.UtcDateTime,
                    config.ReferenceTimeFrame.Enddatum.Value.UtcDateTime), config.Wertermittlungsverfahren, config.Obis,
                config.Einheit);
        }
public static CompletenessReport GetCompletenessReport ( this BO . Energiemenge em , CompletenessReport . CompletenessReportConfiguration config ) { return em . GetCompletenessReport ( new TimeRange ( config . ReferenceTimeFrame . Startdatum . Value . UtcDateTime , config . ReferenceTimeFrame . Enddatum . Value . UtcDateTime ) , config . Wertermittlungsverfahren , config . Obis , config . Einheit ) ; }
Generate a  for the given configuration.
Generate a for the given configuration .
None
BO.Energiemenge
this
config
CompletenessReport.CompletenessReportConfiguration
None
em
None