C# Class Disco.Services.Users.Cache

Show file Open project: garysharp/Disco

Private Methods

Method Description
CleanStaleCache ( ) : void
FlushCache ( ) : void
Get ( string UserId ) : Tuple
Get ( string UserId, DiscoDataContext Database ) : Tuple
Get ( string UserId, DiscoDataContext Database, bool ForceRefresh ) : Tuple
Get ( string UserId, bool ForceRefresh ) : Tuple
GetAuthorization ( string UserId ) : AuthorizationToken
GetAuthorization ( string UserId, DiscoDataContext Database ) : AuthorizationToken
GetAuthorization ( string UserId, DiscoDataContext Database, bool ForceRefresh ) : AuthorizationToken
GetAuthorization ( string UserId, bool ForceRefresh ) : AuthorizationToken
GetUser ( string UserId ) : User
GetUser ( string UserId, DiscoDataContext Database ) : User
GetUser ( string UserId, DiscoDataContext Database, bool ForceRefresh ) : User
GetUser ( string UserId, bool ForceRefresh ) : User
InvalidateRecord ( string UserId ) : bool
SetValue ( string UserId, AuthorizationToken>.Tuple Record ) : Tuple
TryUserCache ( string UserId ) : Tuple