C# Class DevMentor.Context.Store.CacheStorageStrategy

Inheritance: IStoreStrategy
Afficher le fichier Open project: pmizel/DevMentor.Context.FileContext

Méthodes publiques

Méthode Description
CacheStorageStrategy ( IStoreStrategy baseStore ) : System
GetFileName ( Type type, string prefix = null ) : string
Load ( string contents, Type type ) : object
PreLoad ( Type type, string prefix = null ) : string
Save ( object o, Type type ) : string
ToDelete ( object o, Type type ) : string
ToUpdate ( object o, Type type ) : string

Method Details

CacheStorageStrategy() public méthode

public CacheStorageStrategy ( IStoreStrategy baseStore ) : System
baseStore IStoreStrategy
Résultat System

GetFileName() public méthode

public GetFileName ( Type type, string prefix = null ) : string
type System.Type
prefix string
Résultat string

Load() public méthode

public Load ( string contents, Type type ) : object
contents string
type System.Type
Résultat object

PreLoad() public méthode

public PreLoad ( Type type, string prefix = null ) : string
type System.Type
prefix string
Résultat string

Save() public méthode

public Save ( object o, Type type ) : string
o object
type System.Type
Résultat string

ToDelete() public méthode

public ToDelete ( object o, Type type ) : string
o object
type System.Type
Résultat string

ToUpdate() public méthode

public ToUpdate ( object o, Type type ) : string
o object
type System.Type
Résultat string