Skip to content

Commit a33163c

Browse files
Copilotjupre003
andauthored
Add comprehensive German documentation for TemplateEngine.Core (#11)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jupre003 <50733221+jupre003@users.noreply.github.com>
1 parent e2c7df3 commit a33163c

File tree

9 files changed

+3079
-161
lines changed

9 files changed

+3079
-161
lines changed

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Changelog
2+
3+
Alle wichtigen Änderungen an diesem Projekt werden in dieser Datei dokumentiert.
4+
5+
Das Format basiert auf [Keep a Changelog](https://keepachangelog.com/de/1.0.0/),
6+
und dieses Projekt folgt [Semantic Versioning](https://semver.org/lang/de/).
7+
8+
## [Unveröffentlicht]
9+
10+
### Geändert
11+
- Veröffentlichungsprozess aktualisiert: NuGet-Publish-Aktion durch `dotnet pack` und `dotnet nuget push` ersetzt (Commit: 5c37e68)
12+
13+
## [1.0.8-preview2] - Stand: Commit 5c37e68
14+
15+
### Hinzugefügt
16+
- RazorTemplateEngine für komplexe HTML-Templates mit Razor-Syntax
17+
- Unterstützung für Razor-Templates mit der `RazorTemplateEngine<T>` Klasse
18+
- `ITemplateEngine<T>` Interface für beide Template-Engine-Implementierungen
19+
- `ITemplateEngineConfig<T>` Interface und `TemplateEngineConfig<T>` Klasse für Konfiguration
20+
- Erweiterungsmethoden `CreateStringFromTemplateWithJson<T>` und `LoadTemplateFromFile<T>`
21+
- Demo-Projekt mit Razor-Template-Beispielen
22+
- Unterstützung für parameterlose öffentliche Methoden im TemplateDataModel (Syntax: `${MethodName()}`)
23+
24+
### Funktionen
25+
- Einfacher String-basierter Template-Engine (`TemplateEngine` und `TemplateEngine<T>`)
26+
- Razor-basierter Template-Engine (`RazorTemplateEngine<T>`)
27+
- Anpassbare Delimiter (Standard: `${` und `}`)
28+
- Konfigurierbare NULL-Wert-Behandlung (Standard: "NULL")
29+
- Kultur-spezifische Formatierung für Datum und Zahlen (Standard: en-US)
30+
- JSON-Deserialisierung für TemplateDataModel
31+
- Laden von Templates aus Dateien
32+
33+
### Unterstützte Datentypen
34+
- Primitive Typen: String, Byte, Short, UShort, Long, ULong, SByte, Char
35+
- Numerische Typen: Int16, Int32, Int64, UInt16, UInt32, UInt64, Decimal, Double
36+
- Weitere Typen: DateTime, Boolean
37+
38+
### Technische Details
39+
- Target Framework: .NET 8.0
40+
- Assembly Version: 1.0.8.2
41+
- Package Version: 1.0.8-preview2
42+
- Abhängigkeit: RazorEngineCore 2020.10.1
43+
44+
### Build und CI/CD
45+
- GitHub Actions Workflows für Build (Develop und Master Branch)
46+
- GitHub Actions Workflow für Release und NuGet-Veröffentlichung
47+
- Automatische NuGet-Package-Generierung beim Build
48+
49+
---
50+
51+
## Versions-Historie (Zusammenfassung)
52+
53+
Die Version 1.0.8-preview2 ist die aktuelle Entwicklungsversion mit Razor-Template-Unterstützung.
54+
55+
**Commit-Referenz für diese Dokumentation:** 5c37e68 (Basis-Commit für Dokumentation)

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 MbSoftLab
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)