using System.Collections.Generic;
using System.Runtime.Serialization;
using GitHub.Services.WebApi;
namespace GitHub.Build.WebApi
{
///
/// Represents a build process supported by the build definition designer.
///
[DataContract]
public class DesignerProcess : BuildProcess
{
public DesignerProcess()
:this(null)
{
}
internal DesignerProcess(
ISecuredObject securedObject)
: base(ProcessType.Designer, securedObject)
{
}
///
/// The list of phases.
///
public List Phases
{
get
{
if (m_phases == null)
{
m_phases = new List();
}
return m_phases;
}
}
[DataMember(Name = "Phases", EmitDefaultValue = false)]
private List m_phases;
///
/// The target for the build process.
///
[DataMember(EmitDefaultValue = false)]
public DesignerProcessTarget Target { get; set; }
}
}