Added comprehensive README.md documentation to every project and subfolder in the solution. Each README describes the purpose, key files, structure, dependencies, and design patterns for its area. This improves codebase navigability and maintainability, and includes a maintenance note to keep docs in sync with future code changes. |
||
|---|---|---|
| .. | ||
| DateTimeExtension.cs | ||
| LockExtensions.cs | ||
| README.md | ||
| StringExtensions.cs | ||
README.md
Extensions
String, DateTime, and lock utility extensions.
Key Files
StringExtensions.cs—IsNullOrEmpty(),IsNullOrWhiteSpace()(with[NotNullWhen]),FirstLetterToUpper(),MixCharacters()(interleaves two char sequences: ABC+DEF→ADBECF).DateTimeExtension.cs—IsNullOrEmpty()forDateTime/DateTime?,IsEqualSqlDateTime2()for SQL Server datetime2 precision comparison.LockExtensions.cs—usingpattern for locks:mutex.UseWaitOne(),semaphore.UseWait(),semaphore.UseWaitAsync(). ReturnsIDisposablewrappers that auto-release on dispose.
LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.