C# Class Kudu.Core.Deployment.DeploymentStatusFile

An xml file that keeps track of deployment status
Inheritance: IDeploymentStatusFile
Show file Open project: projectkudu/kudu Class Usage Examples

Public Methods

Method Description
Create ( string id, IEnvironment environment, IOperationLock statusLock ) : DeploymentStatusFile
Open ( string id, IEnvironment environment, IAnalytics analytics, IOperationLock statusLock ) : DeploymentStatusFile
Save ( ) : void

Private Methods

Method Description
DeploymentStatusFile ( string id, IEnvironment environment, IOperationLock statusLock, System.Xml.Linq.XDocument document = null ) : System
GetOptionalElementValue ( System.Xml.Linq.XElement element, string localName, string namespaceName = null ) : string
GetSiteName ( IEnvironment environment ) : string
Initialize ( System.Xml.Linq.XDocument document ) : void
ParseDateTime ( string value ) : DateTime?

Method Details

Create() public static method

public static Create ( string id, IEnvironment environment, IOperationLock statusLock ) : DeploymentStatusFile
id string
environment IEnvironment
statusLock IOperationLock
return DeploymentStatusFile

Open() public static method

public static Open ( string id, IEnvironment environment, IAnalytics analytics, IOperationLock statusLock ) : DeploymentStatusFile
id string
environment IEnvironment
analytics IAnalytics
statusLock IOperationLock
return DeploymentStatusFile

Save() public method

public Save ( ) : void
return void