Esempio n. 1
0
 static IConfigurationSection ObterJson(this string section, string jsonFile) => MetodosComuns.ObterJson(section, jsonFile);
Esempio n. 2
0
 public static void CriarSenhaHash(this string senha, out byte[] senhaHash, out byte[] senhaSalt) => MetodosComuns.CriarSenhaHash(senha, out senhaHash, out senhaSalt);
Esempio n. 3
0
 public static void VerificarSenhaHash(this string senha, byte[] passwordHash, byte[] passwordSalt) => MetodosComuns.VerificarSenhaHash(senha, passwordHash, passwordSalt);
Esempio n. 4
0
 public static string SomenteNumeros(this string numeros) => MetodosComuns.SomenteNumeros(numeros);
Esempio n. 5
0
 public static bool DataValidaSQL(this DateTime data) => MetodosComuns.DataValidaSQL(data);
Esempio n. 6
0
 public static bool ECnpj(this string cnpj) => MetodosComuns.ECnpj(cnpj);
Esempio n. 7
0
 public static bool ECpf(this string cpf) => MetodosComuns.ECpf(cpf);
Esempio n. 8
0
 public static bool ValidarEmail(this string email) => MetodosComuns.ValidarEmail(email);
Esempio n. 9
0
 public static Dictionary <int, string> EnumToDictionaryDescricao <T>()
 {
     return(MetodosComuns.EnumToDictionaryDescricao <T>());
 }
Esempio n. 10
0
        public static T ObterEnumToName <T>(this string value)
        {
            var enu = MetodosComuns.ObterEnumToName <T>(value);

            return(enu);
        }
Esempio n. 11
0
 public static string ObterAtributoDescricao <T>(this T source)
 {
     return(MetodosComuns.ObterAtributoDescricao <T>(source));
 }
Esempio n. 12
0
 public static IQueryable <T> OrderByAscDesc <T>(this IQueryable <T> source, string ordering, bool Asc)
 => MetodosComuns.OrderByAscDesc <T>(source, ordering, Asc);