Initializes new instance of RandomCodeGenerator generating random codes starting with prefix. Format of codes is specified by codePattern
parameter.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- codePattern
- Type: System String
Pattern for codes. Hash # stands for random digit, dollar $ stands for random character and asterisk for any alphanumeric symbol. Other characters are copied to output.
- codePrefix (Optional)
- Type: System String
Every generated code will start with this prefix.
See Also