C# Class ProxyManager.AppManager

Afficher le fichier Open project: c-jiang/ProxyManager Class Usage Examples

Méthodes publiques

Méthode Description
AppManager ( string appDir ) : System
ApplyProfileItemAutoStart ( ) : void
ApplyProfileUpdate ( ) : void
AutoSwitchProxy ( ) : void
DetectorNotify_NetworkChanged ( object sender, EventArgs e ) : void
DisableProxy ( ) : void
EnableProxy ( ) : void
EnableProxy ( ProxyItem pi ) : void
IsLoadAppProfileFailed ( ) : bool
LoadAppEnvironment ( ) : bool
LoadAppProfile ( ) : bool
SetCurrentWorkMode ( WorkMode newMode ) : void
StartCurrentWorkMode ( ) : void

Private Methods

Méthode Description
FindMatchedProxyItem ( ) : ProxyItem
IsExpressionMatched ( string exp, string target ) : bool
IsRuleMatched ( ApplyRule rule ) : bool
RunProcessProxyAgent ( string args ) : void

Method Details

AppManager() public méthode

public AppManager ( string appDir ) : System
appDir string
Résultat System

ApplyProfileItemAutoStart() public méthode

public ApplyProfileItemAutoStart ( ) : void
Résultat void

ApplyProfileUpdate() public méthode

public ApplyProfileUpdate ( ) : void
Résultat void

AutoSwitchProxy() public méthode

public AutoSwitchProxy ( ) : void
Résultat void

DetectorNotify_NetworkChanged() public méthode

public DetectorNotify_NetworkChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

DisableProxy() public méthode

public DisableProxy ( ) : void
Résultat void

EnableProxy() public méthode

public EnableProxy ( ) : void
Résultat void

EnableProxy() public méthode

public EnableProxy ( ProxyItem pi ) : void
pi ProxyItem
Résultat void

IsLoadAppProfileFailed() public méthode

public IsLoadAppProfileFailed ( ) : bool
Résultat bool

LoadAppEnvironment() public méthode

public LoadAppEnvironment ( ) : bool
Résultat bool

LoadAppProfile() public méthode

public LoadAppProfile ( ) : bool
Résultat bool

SetCurrentWorkMode() public méthode

public SetCurrentWorkMode ( WorkMode newMode ) : void
newMode WorkMode
Résultat void

StartCurrentWorkMode() public méthode

public StartCurrentWorkMode ( ) : void
Résultat void