public static List <decimal> GetAsListDecimal <T>(T nome, char separator = ',') { return(ConfiguracaoAppUtil.GetAsList(nome, separator).Select(t => Convert.ToDecimal(t.Trim())).ToList()); }
public static List <DateTime> GetAsListDateTime <T>(T nome, char separator = ',') { return(ConfiguracaoAppUtil.GetAsList(nome, separator).Select(t => t.ToDateTime()).ToList()); }
public static List <int> GetAsListInt <T>(T nome, char separator = ',') { return(ConfiguracaoAppUtil.GetAsList(nome, separator).Select(t => Convert.ToInt32(t.Trim())).ToList()); }
public static List <bool> GetAsListBool <T>(T nome, char separator = ',') { return(ConfiguracaoAppUtil.GetAsList(nome, separator).Select(t => Convert.ToBoolean(t.Trim())).ToList()); }