C# Class ClrPlus.Powershell.Core.Service.RestService

Inheritance: ServiceStack.WebHost.Endpoints.AppHostHttpListenerBase
Afficher le fichier Open project: perpetual-motion/clrplus Class Usage Examples

Private Properties

Свойство Type Description
AddCommand void
AddCommandsFromConfig void
ChangePassword bool
GetTypeFactory ITypeFactory
GetUserRule Rule
OnAuthenticated void
RestService System

Méthodes publiques

Méthode Description
AddListener ( string url ) : void
AddListeners ( IEnumerable listenOn ) : void
Configure ( Funq.Container container ) : void
ResetService ( ) : void
Start ( ) : void
StartService ( IEnumerable activeModules ) : void
Stop ( ) : void
StopService ( ) : void
TryAuthenticate ( IServiceBase authService, string userName, string password ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
AddCommand ( ClrPlus.Powershell.Core.Service.RestCommand restCommand ) : void
AddCommandsFromConfig ( Rule commandRule ) : void
ChangePassword ( string userName, string newPassword ) : bool
GetTypeFactory ( Type type ) : ITypeFactory
GetUserRule ( string name ) : Rule
OnAuthenticated ( IServiceBase authService, IAuthSession session, IOAuthTokens tokens, string>.Dictionary authInfo, System.TimeSpan SessionExpiry ) : void
RestService ( string serviceName, List urls, List commands, IEnumerable modules ) : System

Method Details

AddListener() public static méthode

public static AddListener ( string url ) : void
url string
Résultat void

AddListeners() public static méthode

public static AddListeners ( IEnumerable listenOn ) : void
listenOn IEnumerable
Résultat void

Configure() public méthode

public Configure ( Funq.Container container ) : void
container Funq.Container
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

ResetService() public static méthode

public static ResetService ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartService() public static méthode

public static StartService ( IEnumerable activeModules ) : void
activeModules IEnumerable
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

StopService() public static méthode

public static StopService ( ) : void
Résultat void

TryAuthenticate() public static méthode

public static TryAuthenticate ( IServiceBase authService, string userName, string password ) : bool
authService IServiceBase
userName string
password string
Résultat bool