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

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