private void HealthStateChanged(Health.HealthState state) { if (state == Health.HealthState.Dead) { Die(); } }
private void HealthStateChanged(Health.HealthState state) { if (state == Health.HealthState.Dead) { if (OnDeath != null) { OnDeath(this); } Die(); } }
internal DeployedApplication( Uri applicationName, string applicationTypeName, DeploymentStatus deploymentStatus, string workDirectory, string logDirectory, string tempDirectory, Health.HealthState healthState) { this.ApplicationName = applicationName; this.ApplicationTypeName = applicationTypeName; this.DeployedApplicationStatus = deploymentStatus; this.WorkDirectory = workDirectory; this.LogDirectory = logDirectory; this.TempDirectory = tempDirectory; this.HealthState = healthState; }