Table of Contents

Class SessionMemoryStatusExtensions

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.dll

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

info SessionMemoryInfo

The allocation statistics to project.

Returns

SessionMemoryStatus

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.