DistributedApplicationExecutionContext
Handle
interface DistributedApplicationExecutionContext { readonly isPublishMode: boolean; readonly isRunMode: boolean; readonly operation: DistributedApplicationOperation; publisherName: string; readonly runConfiguration: RunConfiguration; readonly serviceProvider: IServiceProvider; readonly services: IServiceProvider;}8 members
Properties
property
isPublishModebooleangetReturns true if the current operation is publishing.
property
isRunModebooleangetReturns true if the current operation is running.
property
operationDistributedApplicationOperationgetThe operation currently being performed by the AppHost.
property
publisherNamestringget · setThe name of the publisher that is being used if `Operation` is set to `Publish`.
property
runConfigurationRunConfigurationgetDescribes how the AppHost is being run. Only meaningful when `Operation` is `Run`; otherwise every aspect holds its default value.
property
serviceProviderIServiceProvidergetThe `IServiceProvider` for the AppHost.
property
servicesIServiceProvidergetThe `IServiceProvider` for the AppHost.