âšī¸ This class is an internal API and can change at any time.
It's documented so you can understand how it works.
â ī¸ Do not use it, or anything with Sys
or Internal
namespaces in your code, as future changes could then break your code.
Class MemorySizeEstimator
Namespace ToSic .Sys .Memory
Assembly ToSic.Sys.Core.dll
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class MemorySizeEstimator : HelperBase, IHasLog
Inheritance
object
MemorySizeEstimator
Implements
Constructors
MemorySizeEstimator(ILog?)
public MemorySizeEstimator(ILog? parentLog)
Parameters
parentLog
ILog
Methods
Estimate(object?)
public SizeEstimate Estimate(object? value)
Parameters
value
object
Returns
SizeEstimate
EstimateInternal(object?, int)
public SizeEstimate EstimateInternal(object? value, int recursion)
Parameters
value
object
recursion
int
Returns
SizeEstimate
EstimateMany(object?[])
public SizeEstimate EstimateMany(object?[] values)
Parameters
values
object []
Returns
SizeEstimate