예제 #1
0
 private static RubyTag[] shiftingRubyTag(RubyTag[] rubyTags, int shifting)
 => rubyTags?.Select(t => TextTagUtils.Shifting(t, shifting)).ToArray();
예제 #2
0
 private static RomajiTag[] shiftingRomajiTag(RomajiTag[] romajiTags, int shifting)
 => romajiTags?.Select(t => TextTagUtils.Shifting(t, shifting)).ToArray();
예제 #3
0
 public static T[] FindOutOfRange <T>(T[] textTags, string lyric) where T : ITextTag
 {
     return(textTags?.Where(x => TextTagUtils.OutOfRange(x, lyric)).ToArray());
 }