Table of Contents

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