C# Class RpgToolsEditor.Controls.IModelExtensions

Datei anzeigen Open project: Pychnight/TshockRpgToolKit

Public Methods

Method Description
FindDuplicateNames ( IEnumerable imodels ) : IEnumerable

Used to find duplicate names, and allow calling code to take actions to guard against overwriting data.

ThrowOnDuplicateNames ( IEnumerable imodels ) : void

Throw an Exception if duplicate names are found.

TryAddCopySuffix ( IModel model ) : void

Method Details

FindDuplicateNames() public static method

Used to find duplicate names, and allow calling code to take actions to guard against overwriting data.
public static FindDuplicateNames ( IEnumerable imodels ) : IEnumerable
imodels IEnumerable
return IEnumerable

ThrowOnDuplicateNames() public static method

Throw an Exception if duplicate names are found.
public static ThrowOnDuplicateNames ( IEnumerable imodels ) : void
imodels IEnumerable
return void

TryAddCopySuffix() public static method

public static TryAddCopySuffix ( IModel model ) : void
model IModel
return void