@@ -20,7 +20,6 @@ Use it when you need fast, readable template mapping for:
2020- Calculation functions:
2121 - ` sum ` , ` avg ` , ` count ` , ` min ` , ` max `
2222 - ` calc ` arithmetic expressions
23- - Function names accept optional leading underscores: ` _sum(...) ` , ` __calc(...) `
2423
2524## Installation
2625Install from [ NuGet] ( https://www.nuget.org/packages/ObjectSemantics.NET ) :
@@ -75,11 +74,6 @@ string template = "{{ #if(IsPaid == true) }}PAID{{ #else }}UNPAID{{ #endif }}";
7574" {{ __calc(PaidAmount - Customer.CreditLimit):N2 }}"
7675```
7776
78- Calculation behavior:
79- - Null source/property in math path returns zero
80- - Unknown property/path returns empty
81- - Invalid/non-numeric math expression returns empty
82-
8377## Documentation
8478Detailed wiki files are available in-repo:
8579- [ Wiki Home] ( wiki/Home.md )
@@ -89,17 +83,6 @@ Detailed wiki files are available in-repo:
8983- [ Real-World Recipes] ( wiki/Recipes.md )
9084- [ Troubleshooting] ( wiki/Troubleshooting.md )
9185
92- These files can be copied directly into your GitHub Wiki repository.
93-
94- ## Validation
95- Current test suite covers:
96- - Nested object mapping
97- - Conditions and loops
98- - String/number/date formatting
99- - File template mapping
100- - Real-world email and messaging scenarios
101- - Expression functions and edge cases
102-
10386## Contributing
10487Contributions are welcome through issues and pull requests.
10588
0 commit comments