ImportWithFileNameDerivedPropertiesActionGetPropertiesPlacedInProjectItems Method |
Gets a list of tuples containing the target item kind, project item name, property name, and property value for each file path based on the provided target template name, name splitter, and actions on properties. Each file path is processed to extract properties and determine where to place them in the project structure.
Namespace: Altaxo.Serialization.NamePropertyExtractionAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntaxpublic static List<(ImportWithFileNameDerivedPropertiesActionTargetItemKind Kind, string ProjectItemName, string PropertyName, Object PropertyValue)> GetPropertiesPlacedInProjectItems(
IEnumerable<string> filePaths,
IPropertyExtractionTreeNode nameSplitter,
string targetTemplateName,
IEnumerable<IActionOnProperty> actionsOnProperties
)
Parameters
- filePaths IEnumerableString
- The file paths to process.
- nameSplitter IPropertyExtractionTreeNode
- The name splitter used to extract properties from file names.
- targetTemplateName String
- The target template name with placeholders.
- actionsOnProperties IEnumerableIActionOnProperty
- The actions to perform on the extracted properties.
Return Value
ListValueTupleImportWithFileNameDerivedPropertiesActionTargetItemKind,
String,
String,
ObjectA list of tuples containing the target item kind, project item name, property name, and property value.
Exceptions
See Also