C# Class Simple.SimpleContext

Inheritance: ILogicalThreadAffinative
Afficher le fichier Open project: juanplopes/simple Class Usage Examples

Méthodes publiques

Méthode Description
Exists ( ) : bool
Force ( SimpleContext context ) : void
Get ( ) : SimpleContext
SwitchProvider ( IContextProvider newProvider ) : void
WithUsername ( string username ) : IDisposable

Private Methods

Méthode Description
SimpleContext ( ) : System

Method Details

Exists() public static méthode

public static Exists ( ) : bool
Résultat bool

Force() public static méthode

public static Force ( SimpleContext context ) : void
context SimpleContext
Résultat void

Get() public static méthode

public static Get ( ) : SimpleContext
Résultat SimpleContext

SwitchProvider() public static méthode

public static SwitchProvider ( IContextProvider newProvider ) : void
newProvider IContextProvider
Résultat void

WithUsername() public méthode

public WithUsername ( string username ) : IDisposable
username string
Résultat IDisposable