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

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