C# 클래스 Lokad.Cloud.ServiceFabric.Runtime.Runtime

Organize the executions of the services.
파일 보기 프로젝트 열기: Lokad/lokad-cloud 1 사용 예제들

공개 메소드들

메소드 설명
Execute ( ) : void

Called once by the service fabric. Call is not supposed to return until stop is requested, or an uncaught exception is thrown.

Runtime ( CloudStorageProviders storage, IEnvironment environment, CloudConfigurationSettings settings, ILog log, ICloudRuntimeObserver observer = null ) : System

IoC constructor.

Stop ( ) : void

Stops all services at once.

Called once by the service fabric when environment is about to be shut down.

비공개 메소드들

메소드 설명
GetNameOfServiceInExecution ( ) : string

The name of the service that is being executed, if any, null otherwise.

LoadAndBuildApplication ( List &services ) : IContainer

Load and get all initialized service instances using the provided IoC container.

메소드 상세

Execute() 공개 메소드

Called once by the service fabric. Call is not supposed to return until stop is requested, or an uncaught exception is thrown.
public Execute ( ) : void
리턴 void

Runtime() 공개 메소드

IoC constructor.
public Runtime ( CloudStorageProviders storage, IEnvironment environment, CloudConfigurationSettings settings, ILog log, ICloudRuntimeObserver observer = null ) : System
storage CloudStorageProviders
environment IEnvironment
settings CloudConfigurationSettings
log ILog
observer ICloudRuntimeObserver
리턴 System

Stop() 공개 메소드

Stops all services at once.
Called once by the service fabric when environment is about to be shut down.
public Stop ( ) : void
리턴 void