-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IApplicationPropertiesExtractorConcretization
- Renamed GeneralPropertiesExtractor to SharedPropertiesExtractor - Renamed EtabsClassPropertiesExtractor to ApplicationPropertiesExtractor - Removed PropertiesExtractor file - Enforced injection of shared properties extractor to application specific extractor - Output of Extract() of type PropertyExtractorResult - Application property extractor mutates dictionary
- Loading branch information
1 parent
6f2993d
commit 4c20b9f
Showing
18 changed files
with
162 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 0 additions & 75 deletions
75
...rters/CSi/Speckle.Converters.CSiShared/ToSpeckle/Helpers/CsiGeneralPropertiesExtractor.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...ers/CSi/Speckle.Converters.CSiShared/ToSpeckle/Helpers/IApplicationPropertiesExtractor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace Speckle.Converters.CSiShared.ToSpeckle.Helpers; | ||
|
||
public struct PropertyExtractionResult | ||
{ | ||
public string Name { get; set; } | ||
public string Type { get; set; } | ||
public string ApplicationId { get; set; } | ||
public Dictionary<string, object?> Properties { get; set; } | ||
} | ||
|
||
/// <summary> | ||
/// Interface for extracting application-specific properties (e.g., ETABS-specific properties). | ||
/// Implementations must compose with SharedPropertiesExtractor to ensure both shared and | ||
/// application-specific properties are extracted. | ||
/// </summary> | ||
public interface IApplicationPropertiesExtractor | ||
{ | ||
SharedPropertiesExtractor SharedPropertiesExtractor { get; } | ||
PropertyExtractionResult ExtractProperties(ICsiWrapper wrapper); | ||
} |
35 changes: 0 additions & 35 deletions
35
Converters/CSi/Speckle.Converters.CSiShared/ToSpeckle/Helpers/IPropertyExtractor.cs
This file was deleted.
Oops, something went wrong.
58 changes: 0 additions & 58 deletions
58
Converters/CSi/Speckle.Converters.CSiShared/ToSpeckle/Helpers/PropertiesExtractor.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.