How biegehydra/easycsv-dotnet works
Main Components
a) Core Components:
• EasyCsv.Core (Core functionality)
• EasyCsv.Components (Blazor UI components)
• EasyCsv.Processing (CSV processing strategies)
• EasyCsv.FileExtensions (File handling extensions)
b) Integration Points:
• Browser File Integration
• Stream/String Input/Output
• Object Mapping Interface
• External File Systems
┌─ Client Layer ─────────────────────────┐
• Blazor Components │
• CsvFileInput │
• CsvProcessingStepper │
• HeaderMatching Components │
• Processing Layer ────────────────────┤
• Strategy Runner │
• Processing Strategies │
• Operation Progress Context │
• Core Layer ───────────────────────────┤
• CSV Operations │
• CRUD Operations │
• Configuration │
• Data Access Layer ──────────────────┘
• File System Integration │
• Stream/String Handling │
Key Relationships to Highlight
a) Data Flow:
• Bidirectional relationships between components and core
b) Component Integration:
• How Blazor components interact with processing strategies
• Factory pattern usage
• Demonstrate mutation scope flow
Important Elements
a) Interface Boundaries:
• IEasyCsv
• IEasyCsvOperations
• IEasyMutations
b) Processing Pipeline:
• CSV Parsing
• Mutation Scope
• Strategy Execution
• Result Generation
Implementation Details
• The factory pattern for CSV creation
• The mutation scope pattern for operations
• The strategy pattern for processing
• Component composition in Blazor