Appearance
UuidConfig Class
Definition
Process-wide configuration for UuidFactory and UlidFactory.
- Namespace:
JASE - Assembly:
JASE.IdGenerator.dll
Properties
| Name | Description |
|---|---|
UseCsprng | Selects the randomness source for process-wide UUID and ULID generation. |
UseNode | When , embeds a node identifier in V7 and SQL Server COMB values so that |
Methods
| Name | Description |
|---|---|
void SetUseCsprng(bool value) | Sets UseCsprng on the process-wide UUID and ULID factories. |
void SetUseNode(bool value) | Sets UseNode on the process-wide UUID factory. |
Remarks
These settings are shared by every caller of the static factories in this process. Construct a UuidGenerator / UlidGenerator when two libraries must not share configuration. In the JASE Suite the same flags are also surfaced through CoreConfig.