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

Inheritance: ServiceStack.WebHost.Endpoints.AppHostHttpListenerBase
ファイルを表示 Open project: perpetual-motion/clrplus Class Usage Examples

Private Properties

Property Type Description
AddCommand void
AddCommandsFromConfig void
ChangePassword bool
GetTypeFactory ITypeFactory
GetUserRule Rule
OnAuthenticated void
RestService System

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method 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 method

public static AddListener ( string url ) : void
url string
return void

AddListeners() public static method

public static AddListeners ( IEnumerable listenOn ) : void
listenOn IEnumerable
return void

Configure() public method

public Configure ( Funq.Container container ) : void
container Funq.Container
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

ResetService() public static method

public static ResetService ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartService() public static method

public static StartService ( IEnumerable activeModules ) : void
activeModules IEnumerable
return void

Stop() public method

public Stop ( ) : void
return void

StopService() public static method

public static StopService ( ) : void
return void

TryAuthenticate() public static method

public static TryAuthenticate ( IServiceBase authService, string userName, string password ) : bool
authService IServiceBase
userName string
password string
return bool