Пример #1
0
        /// <summary>
        /// 生成一个有序的string
        /// </summary>
        /// <returns></returns>
        public static string GenerateString(StringLength length)
        {
            if (length == StringLength.L30)
            {
                return(StringGerarator.Generate30());
            }

            return(StringGerarator.Generate24());
        }
Пример #2
0
 /// <summary>
 /// 生成一个长度为30位有序的string
 /// </summary>
 /// <returns></returns>
 public static string GenerateString()
 {
     return(StringGerarator.Generate30());
 }