C# Class DevMentor.Context.Store.XmlStoreStrategy

Inheritance: IStoreStrategy
Mostra file Open project: pmizel/DevMentor.Context.FileContext

Public Methods

Method Description
GetFileName ( Type T, 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

GetFileName() public method

public GetFileName ( Type T, string prefix = null ) : string
T System.Type
prefix string
return string

Load() public method

public Load ( string contents, Type type ) : object
contents string
type System.Type
return object

PreLoad() public method

public PreLoad ( Type type, string prefix = null ) : string
type System.Type
prefix string
return string

Save() public method

public Save ( object o, Type type ) : string
o object
type System.Type
return string

ToDelete() public method

public ToDelete ( object o, Type type ) : string
o object
type System.Type
return string

ToUpdate() public method

public ToUpdate ( object o, Type type ) : string
o object
type System.Type
return string