ImportWithFileNameDerivedPropertiesActionGetPropertiesPlacedInProjectItemsWithDiagnostics Method |
Gets a list of tuples containing the target item kind, project item name, property name, property value, and diagnostic message 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. If there are inconsistent property values for the same (TargetItemKind, ProjectItemName, PropertyName) tuple across different file paths, a diagnostic message will be included in the result.
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, string Diagnostic)> GetPropertiesPlacedInProjectItemsWithDiagnostics(
IEnumerable<string> filePaths,
IPropertyExtractionTreeNode nameSplitter,
string targetTemplateName,
IEnumerable<IActionOnProperty> actionsOnProperties
)
Parameters
- filePaths IEnumerableString
- The file paths to process.
- nameSplitter IPropertyExtractionTreeNode
- The name splitter to use for extracting properties from file names.
- targetTemplateName String
- The target template name to use for determining the target table name.
- actionsOnProperties IEnumerableIActionOnProperty
- The actions to perform on the extracted properties.
Return Value
ListValueTupleImportWithFileNameDerivedPropertiesActionTargetItemKind,
String,
String,
Object,
StringA list of tuples containing the target item kind, project item name, property name, property value, and diagnostic message.
See Also