コード例 #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);