C# Class Disco.Services.Expressions.ExpressionCache

Exibir arquivo Open project: garysharp/Disco

Public Methods

Method Description
GetModule ( string Module, bool Create = false ) : Expression>.ConcurrentDictionary
GetValue ( string Module, string Key ) : Expression
GetValue ( string Module, string Key, CreateValueDelegate CreateValue ) : Expression
InvalidModule ( string Module ) : bool
InvalidateKey ( string Module, string Key ) : bool
SetValue ( string Module, string Key, Expression Expression ) : bool

Private Methods

Method Description
GetModuleValue ( string Module, string Key, CreateValueDelegate CreateValue ) : Expression

Method Details

GetModule() public static method

public static GetModule ( string Module, bool Create = false ) : Expression>.ConcurrentDictionary
Module string
Create bool
return Expression>.ConcurrentDictionary

GetValue() public static method

public static GetValue ( string Module, string Key ) : Expression
Module string
Key string
return Expression

GetValue() public static method

public static GetValue ( string Module, string Key, CreateValueDelegate CreateValue ) : Expression
Module string
Key string
CreateValue CreateValueDelegate
return Expression

InvalidModule() public static method

public static InvalidModule ( string Module ) : bool
Module string
return bool

InvalidateKey() public static method

public static InvalidateKey ( string Module, string Key ) : bool
Module string
Key string
return bool

SetValue() public static method

public static SetValue ( string Module, string Key, Expression Expression ) : bool
Module string
Key string
Expression Expression
return bool