private void GenerateLots(IShortCodeGenerator gen, ulong[] result)
        {
            int count = result.Length;

            for (int i = 0; i < count; i++)
            {
                result[i] = gen.GetNextCode();
            }
        }
示例#2
0
        public string GetNextCode()
        {
            var internalCode = _generator.GetNextCode();

            return(_encoder.Convert(internalCode, _options.FixedLength, _options.MaxLength));
        }