BO4E/EnergyIdentificationCodes/EnergyIdentificationCodeExtensions.cs
/// <summary>
/// returns true iff <paramref name="eicCandidate"/> adheres <see cref="IsValidEIC"/> and the "Vergabestelle" is 11=BDEW
/// </summary>
/// <param name="eicCandidate"></param>
/// <returns>true iff BDEW is the "Vergeber"</returns>
returns true iff  adheres  and the "Vergabestelle" is 11=BDEW
returns true iff adheres and the " Vergabestelle " is 11 = BDEW
public static bool IsValidEICBDEW(this string eicCandidate)
        {
            if (!IsValidEIC(eicCandidate))
            {
                return false;
            }
            var match = EicRegex.Match(eicCandidate); 
            return match.Groups["vergabestelle"].Value == "11";
        }
public static bool IsValidEICBDEW ( this string eicCandidate ) { if ( ! IsValidEIC ( eicCandidate ) ) { return false ; } var match = EicRegex . Match ( eicCandidate ) ; return match . Groups [ " " ] . Value == " " ; }
returns true iff  adheres  and the "Vergabestelle" is 11=BDEW
returns true iff adheres and the " Vergabestelle " is 11 = BDEW
// we know it's
true iff BDEW is the "Vergeber"
true iff BDEW is the " Vergeber "
string
this
eicCandidate
None