public virtual string Generate() { if (m_allowedChars == null || m_allowedChars.Length == 0) { m_allowedChars = GetAllowedChars(m_configuration); } return(m_genericCodeGenerator.GenerateCode(m_configuration.CodeLength, m_allowedChars)); }
public string Generate(int length) { var result = m_genericCodeGenerator.GenerateCode(length, m_allowedCharacters); return(result); }