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

Afficher le fichier Open project: teamaton/speak-lib

Méthodes publiques

Méthode 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 méthode

public CacheItemWrapper ( DictionaryEntry dictionaryEntry ) : System
dictionaryEntry System.Collections.DictionaryEntry
Résultat System

GetSize() public méthode

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
Résultat SpeakFriend.Utilities.ValueObjects.BinarySize

ToCacheItemSummary() public méthode

public ToCacheItemSummary ( ) : CacheItemTypeSummary
Résultat CacheItemTypeSummary