Sets the name that will be used to identify a DOF in logging.
Namespace: org.opendof.core.oalAssembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
public DOFConfigBuilder setName(
string name
)
Parameters
- name
- Type: SystemString
The name to assign to the DOF for logging. Null to randomly generate a name.
Return Value
Type:
DOFConfigBuilderThe Builder, with the name set to the new value.
Sets the name that will be used to identify a DOF in logging. You can set this to null (which is its default value) to cause the library
to generate a unique name (following the pattern: dof1, dof2, and so on) each time the DOF.Config is used to instantiate a DOF.
Names must be globally unique. If you use this method to set a constant value for the name,
you should not use a DOF.Config created from this Builder to instantiate more than one DOF.
Reference