Exemple #1
0
        public static bool BetweenPeriod(string periodList)
        {
            string empty = string.Empty;

            return(ValidateHelper.BetweenPeriod(periodList, out empty));
        }
Exemple #2
0
 public static bool BetweenPeriod(string periodStr, out string liePeriod)
 {
     string[] strArrays = StringHelper.SplitString(periodStr, "\n");
     return(ValidateHelper.BetweenPeriod(strArrays, out liePeriod));
 }
Exemple #3
0
 public static bool IsNumericRule(string numericRuleStr, string splitChar)
 {
     return(ValidateHelper.IsNumericArray(StringHelper.SplitString(numericRuleStr, splitChar)));
 }
Exemple #4
0
 public static bool IsNumericRule(string numericRuleStr)
 {
     return(ValidateHelper.IsNumericRule(numericRuleStr, ","));
 }
Exemple #5
0
 public static bool InIPList(string sourceIP, string targetIPStr)
 {
     string[] strArrays = StringHelper.SplitString(targetIPStr, "\n");
     return(ValidateHelper.InIPList(sourceIP, strArrays));
 }