Class SessionMemoryStatusExtensions
Projects a session allocator's statistics onto the wire.
public static class SessionMemoryStatusExtensions
- Inheritance
-
SessionMemoryStatusExtensions
- Inherited Members
Methods
ToStatus(SessionMemoryInfo)
The statistics of info, as a SessionMemoryStatus.
public static SessionMemoryStatus ToStatus(this SessionMemoryInfo info)
Parameters
infoSessionMemoryInfoThe allocation statistics to project.
Returns
Remarks
SessionMemoryInfo itself is a record struct with computed members, which the JSON-RPC serializer would round-trip only by
accident; the status carries the same numbers as plain properties, computed ones included.