private IEnumerable <BbieSpec> GenerateBbieSpecs(IEnumerable <AttributeOrSimpleElementOrComplexElementToBccMapping> bccMappings)
 {
     foreach (var bccMapping in bccMappings)
     {
         var bcc      = bccMapping.Bcc;
         var bbieSpec = BbieSpec.CloneBcc(bcc, GetBdt(bccMapping));
         bbieSpec.Name = bccMapping.BIEName;
         yield return(bbieSpec);
     }
 }
 private IEnumerable <BbieSpec> GenerateBbieSpecs(IEnumerable <SplitMapping> splitMappings, IAcc targetAcc)
 {
     foreach (var splitMapping in splitMappings)
     {
         foreach (IBcc bcc in splitMapping.TargetBccs)
         {
             if (bcc.Acc.Id == targetAcc.Id)
             {
                 var bbieSpec = BbieSpec.CloneBcc(bcc, GetBdt(splitMapping, bcc));
                 bbieSpec.Name = splitMapping.GetBbieName(bcc);
                 yield return(bbieSpec);
             }
         }
     }
 }