feat(Fundamentals): add fundamentals service

This commit is contained in:
2026-08-09 21:01:39 +02:00
parent e0778b88ea
commit 605e41cfeb
21 changed files with 3122 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
$files = Get-ChildItem -Path "e:\Projects\Finlytic\FinlyticFundamentals" -Recurse -Include *.cs -Exclude "Migrations\*"
foreach ($file in $files) {
$content = Get-Content $file.FullName -Raw
# regex for logger
# match _logger.LogX("message", args)
# The tricky part is we need to match the message string correctly.
# $content = [regex]::Replace($content, '(_?logger\.Log(?:Information|Warning|Error))\(\s*(ex\s*,\s*)?("[^"]*")\s*(.*?)\)', {
# param($match)
# ...
# })
# Actually, a simpler way is using a Python script via downloaded Python or just do it in powershell carefully.
}