Interface ICanEstimateSize
Marks objects which can self-report their size in memory.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public interface ICanEstimateSize
Methods
EstimateSize(ILog?)
Method to implement when an object can self-report it's size.
SizeEstimate EstimateSize(ILog? log = null)
Parameters
logILogAn optional logger to use for logging during the size estimation.
Returns
- SizeEstimate
The estimated size of the object.