Exemplo n.º 1
0
 public KanjiProperties(
     KanjiDict kanjiDict,
     Kradfile kradfile,
     Radkfile radkfile,
     RadicalRemapper remapper)
 {
     this.kradfile  = kradfile;
     this.radkfile  = radkfile;
     this.remapper  = remapper;
     KanjiOrderings = new ObservableBatchCollection <KanjiOrdering>
     {
         KanjiOrdering.Create("Sort by stroke count", kanjiDict, x => x.StrokeCount),
         KanjiOrdering.Create("Sort by frequency", kanjiDict, x => x.FrequencyRating)
     };
 }
 public EqualityComparer(RadicalRemapper remapper)
 {
     this.remapper = remapper;
 }