GUID

 

CodeGen supports inserting GUID values (e.g. {8d881f51-8d3e-4ee7-9e20-17ee24452da9}) into generated code.

The <GUID> and <GUID_NOBRACE> tokens always generate a new GUID value every time they are encountered, either with or without surrounding brace characters.

The tokens that include numbers (e.g. <GUID1>) generate a new GUID value the first time they are encountered, but then maintain that same value for the remainder of that invocation of CodeGen. The <GUID1>, <GUID2> and <GUID3> tokens can be used to persist and refer back to up to three separate GUID values.

Usage

<GUID>

<GUID_NOBRACE>

<GUID1>

<GUID1_NOBRACE>

<GUID2>

<GUID2_NOBRACE>

<GUID3>

<GUID3_NOBRACE>

Alternate forms

<guid>

<guid_nobrace>

<guid1>

<guid1_nobrace>

<guid2>

<guid3_nobrace>

<guid3>

<gui3_nobrace>

See also

Other generic tokens

 

 

 


Copyright © 2018  Synergex International, Inc.