Method WithModuleId
WithModuleId(string)
Sets the module ID for the DOM module.
public T WithModuleId(string moduleId)
Parameters
moduleId
stringThe module ID. Must be 1-40 lowercase alphanumeric characters or underscores.
Returns
- T
The builder instance for chaining.
Exceptions
- ArgumentNullException
Thrown when
moduleId
isnull
or empty.- ArgumentException
Thrown when
moduleId
does not match the required format.