C# Class SpeakFriend.Utilities.Web.Analysis.CacheItemWrapper

Mostra file Open project: teamaton/speak-lib

Public Methods

Method Description
CacheItemWrapper ( DictionaryEntry dictionaryEntry ) : System
GetSize ( ) : SpeakFriend.Utilities.ValueObjects.BinarySize

The approximate size assumed the value are serialized. It ignores completely references.

For unmanaged types the use of sizeof() and Marshal.SizeOf() could be considered.

ToCacheItemSummary ( ) : CacheItemTypeSummary

Method Details

CacheItemWrapper() public method

public CacheItemWrapper ( DictionaryEntry dictionaryEntry ) : System
dictionaryEntry System.Collections.DictionaryEntry
return System

GetSize() public method

The approximate size assumed the value are serialized. It ignores completely references.
For unmanaged types the use of sizeof() and Marshal.SizeOf() could be considered.
public GetSize ( ) : SpeakFriend.Utilities.ValueObjects.BinarySize
return SpeakFriend.Utilities.ValueObjects.BinarySize

ToCacheItemSummary() public method

public ToCacheItemSummary ( ) : CacheItemTypeSummary
return CacheItemTypeSummary