Beispiel #1
0
 public static IEnumerable <SubrecordPinFrame> Masters(this ModHeaderFrame modHeader)
 {
     foreach (var pin in EnumerateSubrecords(modHeader))
     {
         if (pin.RecordType == RecordTypes.MAST)
         {
             yield return(pin);
         }
     }
 }
Beispiel #2
0
 /// <summary>
 /// Enumerates locations of the contained subrecords.<br/>
 /// Locations are relative to the RecordType of the ModHeaderFrame.
 /// </summary>
 public static IEnumerable <SubrecordPinFrame> EnumerateSubrecords(this ModHeaderFrame modHeader)
 {
     return(EnumerateSubrecords(modHeader.HeaderAndContentData, modHeader.Meta, modHeader.HeaderLength, _headerOverflow));
 }