ImportWithFileNameDerivedPropertiesActionGetProjectItemNameFromTemplateName Method |
Gets the target table name by replacing placeholders in the target template name with actual property values from the provided properties enumeration.
Namespace: Altaxo.Serialization.NamePropertyExtractionAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntaxpublic static string GetProjectItemNameFromTemplateName(
string targetTemplateName,
IEnumerable<(string PropertyName, Object PropertyValue)> properties,
int globalIndexOfTable,
Dictionary<string, HashSet<string>> folderToProjectItemNames
)
Parameters
- targetTemplateName String
- The target template name containing placeholders.
- properties IEnumerableValueTupleString, Object
- The enumeration of property names and values to replace the placeholders.
- globalIndexOfTable Int32
- The global index of the table, used for generating unique names.
- folderToProjectItemNames DictionaryString, HashSetString
- A dictionary mapping folder names to the set of project item names within each folder.
Return Value
StringThe target table name with placeholders replaced by actual property values.
Exceptions
See Also