New to Telerik Document ProcessingStart a free 30-day trial

Event args for resolving duplicate JavaScript action names during document merge; includes original, proposed, and used names.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class DuplicatedJavaScriptNameResolvingEventArgs : EventArgs

Inheritance: objectEventArgsDuplicatedJavaScriptNameResolvingEventArgs

Inherited Members EventArgs.Empty

Constructors

Create args with conflicting name, proposed unique name, and set of existing JavaScript names.

C#
public DuplicatedJavaScriptNameResolvingEventArgs(string name, string newName, IEnumerable<string> usedNames)
Parameters:namestring

The current name of the JavaScript.

newNamestring

The new name of the JavaScript.

usedNamesIEnumerable<string>

The names that are currently used in the .

Properties

The conflicting original JavaScript name.

C#
public string Name { get; }
Property Value:

The name.

Proposed new unique JavaScript name (handler may adjust).

C#
public string NewName { get; set; }
Property Value:

The new name.

Collection of already used JavaScript names for collision detection.

C#
public IEnumerable<string> UsedNames { get; }
Property Value:

The used names.