Kudu.Core.Deployment.DeploymentManager.GetResult C# (CSharp) Method

GetResult() private method

private GetResult ( string id, string activeDeploymentId, bool isDeploying ) : DeployResult
id string
activeDeploymentId string
isDeploying bool
return DeployResult
        private DeployResult GetResult(string id, string activeDeploymentId, bool isDeploying)
        {
            var file = VerifyDeployment(id, isDeploying);

            if (file == null)
            {
                return null;
            }

            return new DeployResult
            {
                Id = file.Id,
                Author = file.Author,
                Deployer = file.Deployer,
                AuthorEmail = file.AuthorEmail,
                Message = file.Message,
                Progress = file.Progress,
                StartTime = file.StartTime,
                EndTime = file.EndTime,
                Status = file.Status,
                StatusText = file.StatusText,
                Complete = file.Complete,
                IsTemporary = file.IsTemporary,
                IsReadOnly = file.IsReadOnly,
                Current = file.Id == activeDeploymentId,
                ReceivedTime = file.ReceivedTime,
                LastSuccessEndTime = file.LastSuccessEndTime,
                SiteName = file.SiteName
            };
        }

Same methods

DeploymentManager::GetResult ( string id ) : DeployResult