C# Class RightScale.netClient.ActivityLibrary.Base.RSCodeActivity

Centralized base class containing common properties for authentication as well as authentnication checks and a shared logging mechanism
Inheritance: System.Activities.CodeActivity
ファイルを表示 Open project: rs-services/RightScaleNetAPI

Public Methods

Method Description
RSCodeActivity ( ) : System

Protected Methods

Method Description
Execute ( CodeActivityContext context ) : void
GetFriendlyName ( ) : string
LogError ( string message ) : void
LogInformation ( string message ) : void
LogWarning ( string message ) : void
PerformRightScaleTask ( CodeActivityContext context ) : bool
authClient ( CodeActivityContext context ) : bool

Common method for authenticating to the RightScale API

Method Details

Execute() protected method

protected Execute ( CodeActivityContext context ) : void
context CodeActivityContext
return void

GetFriendlyName() protected abstract method

protected abstract GetFriendlyName ( ) : string
return string

LogError() protected method

protected LogError ( string message ) : void
message string
return void

LogInformation() protected method

protected LogInformation ( string message ) : void
message string
return void

LogWarning() protected method

protected LogWarning ( string message ) : void
message string
return void

PerformRightScaleTask() protected abstract method

protected abstract PerformRightScaleTask ( CodeActivityContext context ) : bool
context CodeActivityContext
return bool

RSCodeActivity() public method

public RSCodeActivity ( ) : System
return System

authClient() protected method

Common method for authenticating to the RightScale API
protected authClient ( CodeActivityContext context ) : bool
context CodeActivityContext CodeActivityContext of the derived class
return bool