public IProp <string> GetSuggestionAt(int index) { return(SuggestionsCount.Transform(count => index < count ? menu[index].Text.Get() : null)); }
public static IProp <decimal> Currency(this IProp <string> property) { return(property.Transform(new CurrencyTransformation())); }
public static IProp <bool> Boolean(this IProp <string> property) { return(property.Transform(new BooleanTransformation())); }
public static IProp <int> Integer(this IProp <string> property) { return(property.Transform(new IntegerTransformation())); }
public static IProp <TNew> Then <T, TNew>(this IProp <T> prop, Func <IProp <TNew> > then) { return(prop.Transform(x => then().Get())); }