C# 클래스 Atomia.Provisioning.Modules.Folders.Folders

상속: ModuleBase
파일 보기 프로젝트 열기: atomia/sample-plugins 1 사용 예제들

공개 메소드들

메소드 설명
BeginTransaction ( ) : void

Begins the transaction.

CallOperation ( ModuleService service, string operationName, string operationArgument, Atomia resource ) : string

Calls the operation.

CommitTransaction ( ) : void

Commits the transaction.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources

Folders ( ) : System

Initializes a new instance of the Template class.

GetModuleServiceDescription ( ) : string

Gets the module service description.

HandleAndProvide ( string args ) : void

Method which handle input arguments and call appropriate actions

ListServices ( ModuleService service, int maxDepth, Atomia resource ) : ModuleService

Lists the services.

ListServicesNoChildren ( string serviceName, Atomia resource ) : List

Lists the services no children.

ModifyService ( ModuleService service, Atomia resource, ModuleService newServiceSettings ) : void

Modifies the service.

MoveToResource ( ModuleService service, Atomia currentResource, Atomia targetResource ) : void

Moves to resource.

ProvideService ( ModuleService service, Atomia resource ) : void

Provides the service.

RemoveService ( ModuleService service, Atomia resource ) : void

Removes the service.

RollbackTransaction ( ) : void

Rollbacks the transaction.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

GetModuleCommand ( ResourceDescription resource, ModuleCommandType commandType, int listDepth ) : ModuleCommand

Gets the module command.

GetServiceDescriptionAssemblyPath ( ) : string

returns service description filename

PrepareAndExecuteCommandsFromList ( ) : void

Prepares each commands from commands list and execute each commands from the same list. If error occurs during executing one command, Rollback is called.

PrepareCommandList ( ModuleService service, ModuleService newServiceSettings, ResourceDescription resource, ModuleCommandType commandType ) : void

Prepares the command list.

메소드 상세

BeginTransaction() 공개 메소드

Begins the transaction.
public BeginTransaction ( ) : void
리턴 void

CallOperation() 공개 메소드

Calls the operation.
public CallOperation ( ModuleService service, string operationName, string operationArgument, Atomia resource ) : string
service ModuleService The service.
operationName string Name of the operation.
operationArgument string The operation argument.
resource Atomia The resource.
리턴 string

CommitTransaction() 공개 메소드

Commits the transaction.
public CommitTransaction ( ) : void
리턴 void

Dispose() 공개 메소드

Releases unmanaged and - optionally - managed resources
public Dispose ( ) : void
리턴 void

Folders() 공개 메소드

Initializes a new instance of the Template class.
public Folders ( ) : System
리턴 System

GetModuleServiceDescription() 공개 메소드

Gets the module service description.
public GetModuleServiceDescription ( ) : string
리턴 string

HandleAndProvide() 공개 메소드

Method which handle input arguments and call appropriate actions
public HandleAndProvide ( string args ) : void
args string
리턴 void

ListServices() 공개 메소드

Lists the services.
public ListServices ( ModuleService service, int maxDepth, Atomia resource ) : ModuleService
service ModuleService The service.
maxDepth int The max depth.
resource Atomia The resource.
리턴 ModuleService

ListServicesNoChildren() 공개 메소드

Lists the services no children.
public ListServicesNoChildren ( string serviceName, Atomia resource ) : List
serviceName string Name of the service.
resource Atomia The resource.
리턴 List

ModifyService() 공개 메소드

Modifies the service.
public ModifyService ( ModuleService service, Atomia resource, ModuleService newServiceSettings ) : void
service ModuleService The service.
resource Atomia The resource.
newServiceSettings ModuleService The new service settings.
리턴 void

MoveToResource() 공개 메소드

Moves to resource.
public MoveToResource ( ModuleService service, Atomia currentResource, Atomia targetResource ) : void
service ModuleService The service.
currentResource Atomia The current resource.
targetResource Atomia The target resource.
리턴 void

ProvideService() 공개 메소드

Provides the service.
public ProvideService ( ModuleService service, Atomia resource ) : void
service ModuleService The service.
resource Atomia The resource.
리턴 void

RemoveService() 공개 메소드

Removes the service.
public RemoveService ( ModuleService service, Atomia resource ) : void
service ModuleService The service.
resource Atomia The resource.
리턴 void

RollbackTransaction() 공개 메소드

Rollbacks the transaction.
public RollbackTransaction ( ) : void
리턴 void