Beispiel #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)));
Beispiel #2
0
 public static IEnumerable <string> SeqOf(this ITvpInfo me, params Enum[] keys)
 => keys.EachTo(me.InfoOf);
Beispiel #3
0
 public static IEnumerable <KeyValuePair <Enum, string> > KvpOf(this ITvpInfo me, params Enum[] keys)
 => keys.EachTo(x => x.ValMe(me.InfoOf(x)));
Beispiel #4
0
 public static string InfoOf(this ITvpInfo me, Enum key)
 => me.Ensure(x => x.InfoOf(key));