CatSandwich
CatSandwich
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
right that makes sense
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Thanks again!
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Okay it clicked
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
split attention right now unfortunately
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Thanks folks!
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Yeah I'm not understanding it yet, but I'll circle back to digest it later
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Why does ref struct allow stackalloc?
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Could stackalloc not have worked with memory?
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Sure but pretending ref struct was never invented
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
var memory = stackalloc...
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Could Memory<T> not have worked in its place?
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
I'll have to take some time to digest that later
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Could that not have worked without the concept of ref structs?
60 replies
CC#
Created by CatSandwich on 9/14/2023 in #help
❔ Benefit of ref structs
Why did Span<T> need the restrictions?
60 replies
CC#
Created by CatSandwich on 8/4/2023 in #help
✅ Configure Xml Serialization
Wonderful, thanks! I'll give it a go monday. Fairly confident this is the last piece of the puzzle so I'll close.
18 replies
CC#
Created by CatSandwich on 8/4/2023 in #help
✅ Configure Xml Serialization
XmlRoot didn't affect the element root names, unfortunately
18 replies
CC#
Created by CatSandwich on 8/4/2023 in #help
✅ Configure Xml Serialization
I would ideally not like to control this on the consuming fields, but on the type itself
18 replies
CC#
Created by CatSandwich on 8/4/2023 in #help
✅ Configure Xml Serialization
Everything is working except for the array element names
18 replies
CC#
Created by CatSandwich on 8/4/2023 in #help
✅ Configure Xml Serialization
<?xml version="1.0" encoding="utf-16"?>
<Thing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SystemTime>2023-08-04T15:28:00.5183317-04:00</SystemTime>
<DateTime>2023-08-04T19:28:00.5218777Z</DateTime>
<SystemTimes>
<dateTime>2023-08-04T19:28:00.5218783Z</dateTime>
<dateTime>2023-08-04T19:28:00.5218784Z</dateTime>
<dateTime>2023-08-04T19:28:00.5218784Z</dateTime>
</SystemTimes>
<DateTimes>
<DateTimeWrapper>2023-08-04T19:28:00.5218779Z</DateTimeWrapper>
<DateTimeWrapper>2023-08-04T19:28:00.5218782Z</DateTimeWrapper>
<DateTimeWrapper>2023-08-04T19:28:00.5218782Z</DateTimeWrapper>
</DateTimes>
</Thing>
<?xml version="1.0" encoding="utf-16"?>
<Thing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SystemTime>2023-08-04T15:28:00.5183317-04:00</SystemTime>
<DateTime>2023-08-04T19:28:00.5218777Z</DateTime>
<SystemTimes>
<dateTime>2023-08-04T19:28:00.5218783Z</dateTime>
<dateTime>2023-08-04T19:28:00.5218784Z</dateTime>
<dateTime>2023-08-04T19:28:00.5218784Z</dateTime>
</SystemTimes>
<DateTimes>
<DateTimeWrapper>2023-08-04T19:28:00.5218779Z</DateTimeWrapper>
<DateTimeWrapper>2023-08-04T19:28:00.5218782Z</DateTimeWrapper>
<DateTimeWrapper>2023-08-04T19:28:00.5218782Z</DateTimeWrapper>
</DateTimes>
</Thing>
18 replies
CC#
Created by CatSandwich on 8/4/2023 in #help
✅ Configure Xml Serialization
Here's what I'm getting:
18 replies