sibber
sibber
CC#
Created by reeeeeee on 1/15/2025 in #help
Where to handle mapping between DTOs and Entity objects?
yeah id make it an extension method, and probably in its own class that handles mapping it depends on the arch
4 replies
CC#
Created by 77_105_114_111 on 1/16/2025 in #help
✅ Ignore case sensitive string in array.
@77_105_114_111 $close
14 replies
CC#
Created by Faker on 1/14/2025 in #help
Data types in C#
but since c# has real typed generics and not type erasure, generic types can be value types they dont need to be boxed
10 replies
CC#
Created by Faker on 1/14/2025 in #help
Data types in C#
in c# int is just an alias, its the exact same thing as Int32. if you want to box you explicitly cast to object
10 replies
CC#
Created by synz on 1/12/2025 in #help
Taskbar Color
and then you can just set the accent color
4 replies
CC#
Created by synz on 1/12/2025 in #help
Taskbar Color
but you can set color prevelance in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize which makes the taskbar plus some other things the same color as the accent color
4 replies
CC#
Created by synz on 1/12/2025 in #help
Taskbar Color
just the taskbar, there probably isnt a hacky way
4 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
$close
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
yeah
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
np
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
hardcode the url encoded version
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
thats not what reflection is intended for
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
definitely
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
but method overloads seem like the best option here
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
use GetFromJsonAsync
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
although iirc HttpClient should handle that but dont quote me
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
url encode
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
and in a lot of cases end up with way less readable or overengineered code
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
people follow DRY too religiously
50 replies
CC#
Created by Leroico on 1/4/2025 in #help
✅ Getting method parameters with reflection on library code
repeating less isnt always better
50 replies