nathanAjacobs
Explore posts from serversPrevent Visual Studio from adding NotImplementedException when generating method
Is it possible to configure Visual Studio to not add the
throw new NotImplementedException();
line when generating methods via quick actions?
I just want it to create an empty method.13 replies
AAE📼 Addie’s Analog Emporium 🌐
•Created by nathanAjacobs on 12/24/2024 in #tech-help
Adobe Audition not saving "Monitor Input" for saved multitrack session
Every time I open my saved session, I have to enable the
I
monitor input button
Does anyone know why this might be the case?1 replies
WPF - DataGridCheckBoxColumn Issues
In WPF, how can I have a DataGridCheckBoxColumn that allows me to click the checkboxes without having to select the row first. It's weird that when I click the checkbox it selects the row rather than just clicking the checkbox
I have this which seems to work, but it doesn't seem to update the value in the model when the checkbox is clicked. It only gets updated when I click the cell and click away.
How can I fix it so that when I click the checkbox it updates the model?
5 replies
NamedPipeClientStream.ReadAsync() continuously reads after the first message arrives
How come
NamedPipeClientStream.ReadAsync
continuously reads 0 bytes after the first message arrives?
Basically is there a way to have it asynchronously wait until more data arrives after the first message?5 replies
What exactly do these limitations mean for NativeAOT?
- No C++/CLI.
- Windows: No built-in COM
From the docs:
https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/?tabs=net8plus%2Cwindows#limitations-of-native-aot-deployment
24 replies
Optional parameters with dependency injection
Is it possible to have an optional parameter for a constructor with dependency injection. I know that dependency injection usually it implies it is a required dependency, but for example if the only dependency is an
ILogger
, then I don't really care if one was registered or not.
EDIT: Changed ILogger<Test>
to be nullable
10 replies
❔ Are there read only collections that don't box enumerators?
ReadOnlyCollection<T>
boxes struct enumerators since it stores IList<T>
internally.
ImmutableList<T>
does not box enumerator, but I actually want to publically expose a List as read only and privately be able to modify it.11 replies
✅ Would a ConcurrentDictionary be necessary if I am only adding and never removing?
Would a ConcurrentDictionary be necessary if I'm only ever adding keys and never removing them? Also I'm not using the values of the dictionary so if ConcurrentDictionary is not needed I could use a regular HashSet instead.
12 replies