DistributedApplicationExecutionContext
Handle
Exposes the global contextual information for this invocation of the AppHost.
type DistributedApplicationExecutionContext interface{}7 members
Properties
property
IsPublishMode boolgetReturns true if the current operation is publishing.
IsPublishMode() (bool, error)property
IsRunMode boolgetReturns true if the current operation is running.
IsRunMode() (bool, error)property
OperationDistributedApplicationOperation getThe operation currently being performed by the AppHost.
Operation() (DistributedApplicationOperation, error)property
PublisherName stringget · setThe name of the publisher that is being used if
Operation is set to Publish.PublisherName() (string, error)SetPublisherName(value string) DistributedApplicationExecutionContextproperty
RunConfiguration *RunConfiguration getDescribes how the AppHost is being run. Only meaningful when
Operation is Run; otherwise every aspect holds its default value.RunConfiguration() (*RunConfiguration, error)property
ServiceProvider ServiceProvider getThe
IServiceProvider for the AppHost.ServiceProvider() ServiceProviderproperty
ServicesServiceProvider getThe
IServiceProvider for the AppHost.Services() ServiceProvider