public MatchedGroup(MainStringRef ebRef, MainStringRef m12Ref)
     : this()
 {
     Refs.Add(Game.Eb, new IndexLabel(ebRef));
     Refs.Add(Game.M12, new IndexLabel(m12Ref));
     Refs.Add(Game.M12English, new IndexLabel(m12Ref));
 }
Exemplo n.º 2
0
 private MatchedGroup[] MatchRefs(MainStringRef[] ebRefs, MainStringRef[] m12Refs)
 {
     return ebRefs.Join(m12Refs, e => e.Index, m => m.Index,
         (e, m) => new { e, m })
         .Select(p => new MatchedGroup(p.e, p.m))
         .ToArray();
 }
Exemplo n.º 3
0
 public IndexLabel(MainStringRef stringRef)
     : this(stringRef.Index, stringRef.Label)
 {
 }