# emreakdemir/herokit architecture

> Architecture diagram of the GitHub repository emreakdemir/herokit, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/emreakdemir/herokit
- Repository: https://github.com/emreakdemir/herokit

## Overview

##### Main Components

a) Core Extension Categories (Primary Components):
- Array Extensions
- Boolean Extensions
- String Extensions
- DateTime Extensions
- Object Extensions
- Type Extensions
- Assembly Extensions
- GUID Extensions
- Integer Extensions
- Property Extensions

b) Extension Method Types (Secondary Components):
- Control Extensions (validation/checking operations)
- Conversion Extensions (type conversion operations)
- Manipulation Extensions (data manipulation operations)
- Formatting Extensions (formatting operations)

**┌─────────────────────────────────────────────────────────────┐**
- HeroKit Library                       │
- ┤

- ┌─────────────┐ ┌─────────────┐ ┌─────────────┐          │
- Control   │ │ Conversion  │ │Manipulation │          │
- Extensions │ │ Extensions  │ │ Extensions  │          │
- ┘ └─────────────┘ └─────────────┘          │

- ┌─────────────────────────────────────────────────────┐   │
- Extension Categories                   │   │
- ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐   │   │
- Arrays  │ │Booleans │ │ Strings │ │  Types  │   │   │
- ┘ └─────────┘ └─────────┘ └─────────┘   │   │
- ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐   │   │
- DateTime │ │ Objects │ │Assembly │ │  GUID   │   │   │
- ┘ └─────────┘ └─────────┘ └─────────┘   │   │
- ┘   │

- ┘

##### Additional Elements

- Extension method types
- Relationship types
- Common usage patterns

##### Implementation Details

That each extension category implements some or all of the extension types:
- Arrays → Control, Conversion, Manipulation
- Strings → Control, Conversion, Manipulation
- Objects → Control, Conversion
- Types → Control, Extension Methods

##### Testing Layer

A separate testing layer showing:
- Test categories matching the extension categories
- Test coverage indicators
- Test dependencies

##### Infrastructure Components

Supporting elements:
- GitHub Actions workflows
- NuGet packaging
- Assembly loading mechanisms

##### Documentation References

References to:
- XML documentation
- README files
- Usage examples
- Installation guides

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph HeroKit["HeroKit Library"]
        subgraph ExtTypes["Extension Types"]
            Control["Control Extensions"]:::control
            Convert["Conversion Extensions"]:::convert
            Manip["Manipulation Extensions"]:::manip
            Format["Formatting Extensions"]:::format
        end

        subgraph Categories["Extension Categories"]
            Arrays["Array Extensions"]:::category
            Booleans["Boolean Extensions"]:::category
            Strings["String Extensions"]:::category
            DateTimes["DateTime Extensions"]:::category
            Objects["Object Extensions"]:::category
            Types["Type Extensions"]:::category
            Assembly["Assembly Extensions"]:::category
            Guids["GUID Extensions"]:::category
            Integers["Integer Extensions"]:::category
            Properties["Property Extensions"]:::category
        end

        subgraph Infrastructure["Infrastructure"]
            GHActions["GitHub Actions"]:::infra
            NuGet["NuGet Package"]:::infra
            Tests["Test Suite"]:::infra
        end
    end

    %% Relationships
    Control --> Arrays
    Control --> Booleans
    Control --> Strings
    Control --> Objects
    Control --> Types

    Convert --> Arrays
    Convert --> Booleans
    Convert --> Strings
    Convert --> Objects

    Manip --> Arrays
    Manip --> Strings

    Format --> DateTimes

    %% Infrastructure Relationships
    GHActions --> NuGet
    Tests --> Categories

    %% Click Events
    click Arrays "https://github.com/emreakdemir/HeroKit/tree/master/HeroKit/Arrays/"
    click Booleans "https://github.com/emreakdemir/HeroKit/tree/master/HeroKit/Booleans/"
    click Strings "https://github.com/emreakdemir/HeroKit/tree/master/HeroKit/Strings/"
    click DateTimes "https://github.com/emreakdemir/HeroKit/blob/master/HeroKit/DateTimes/DateTimeFormattingExtensions.cs"
    click Objects "https://github.com/emreakdemir/HeroKit/tree/master/HeroKit/Objects/"
    click Types "https://github.com/emreakdemir/HeroKit/tree/master/HeroKit/Types/"
    click Assembly "https://github.com/emreakdemir/HeroKit/blob/master/HeroKit/Assemblies/AssemblyExtensions.cs"
    click Guids "https://github.com/emreakdemir/HeroKit/blob/master/HeroKit/Guids/GuidExtensions.cs"
    click Integers "https://github.com/emreakdemir/HeroKit/blob/master/HeroKit/Integers/IntegerExtensions.cs"
    click Properties "https://github.com/emreakdemir/HeroKit/blob/master/HeroKit/Properties/PropertyInfoExtensions.cs"
    click Tests "https://github.com/emreakdemir/HeroKit/tree/master/HeroKit.Tests/"
    click GHActions "https://github.com/emreakdemir/HeroKit/tree/master/.github/workflows/"

    %% Styling
    classDef control fill:#3498db
    classDef convert fill:#2ecc71
    classDef manip fill:#e67e22
    classDef format fill:#9b59b6
    classDef category fill:#95a5a6
    classDef infra fill:#7f8c8d

    %% Legend
    subgraph Legend
        L1["Control Extensions"]:::control
        L2["Conversion Extensions"]:::convert
        L3["Manipulation Extensions"]:::manip
        L4["Formatting Extensions"]:::format
        L5["Categories"]:::category
        L6["Infrastructure"]:::infra
    end
```
