UAOOI.ProcessObserver.RealTime.Processes Namespace
UAOOI.ProcessObserver.RealTime.Utils.Collections.Generic Namespace
UAOOI.ProcessObserver.RealTime

UniqueNameGenerator..::..AddName Method (String, Boolean)

Adds a name to the collection of unique names.

Namespace:  UAOOI.ProcessObserver.RealTime.Utils
Assembly:  RealTime (in RealTime.dll)

Syntax


public void AddName(
	string newName,
	bool throwExceptionIfNameExistOnTheListOfPreviousNames
)
Public Sub AddName ( _
	newName As String, _
	throwExceptionIfNameExistOnTheListOfPreviousNames As Boolean _
)
public:
void AddName(
	String^ newName, 
	bool^ throwExceptionIfNameExistOnTheListOfPreviousNames
)

Parameters

newName
Type: String
The new name.
throwExceptionIfNameExistOnTheListOfPreviousNames
Type: Boolean
if set to true the method throws exception if name exist on the list of previous names.