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

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