C# Класс Lokad.Cloud.ServiceFabric.Runtime.Runtime

Organize the executions of the services.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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