Hi. Since writing code in the program itself results in ramps of RAM, I decided to write the code directly to VS. But as I understand there are differences between writing in the studio and right in the program. For example, how to get MemoryMeasurementParsed.Value, it if the does not exist in the Sanderling namespace.
To get the value of MemoryMeasurementParsed.Value, use the following expression, where measurement is the measurement of type MemoryStruct.IMemoryMeasurement:
Sanderling.Parse.Extension.Parse(measurement)
This returns the parsed measurement of type Sanderling.Parse.IMemoryMeasurement.
Add the script to the project at src/Sanderling/Sanderling.Sample.Read/Sanderling.Sample.Read.csproj, as that project already contains the memory reading API your script depends on.