예제 #1
0
 public static IEnumerable <KeyValuePair <string, string> > KvpOf(this ITvpInfo me, Func <Enum, string> localizer, params Enum[] keys)
 => keys.EachTo(x => localizer(x).ValMe(me.InfoOf(x)));
예제 #2
0
 public static IEnumerable <string> SeqOf(this ITvpInfo me, params Enum[] keys)
 => keys.EachTo(me.InfoOf);
예제 #3
0
 public static IEnumerable <KeyValuePair <Enum, string> > KvpOf(this ITvpInfo me, params Enum[] keys)
 => keys.EachTo(x => x.ValMe(me.InfoOf(x)));
예제 #4
0
 public static string InfoOf(this ITvpInfo me, Enum key)
 => me.Ensure(x => x.InfoOf(key));