Class DeploymentContext
- Namespace
- Dassie.Deployment
- Assembly
- dc.dll
Represents the context passed to deployment targets.
public record DeploymentContext : IEquatable<DeploymentContext>
- Inheritance
-
DeploymentContext
- Implements
- Inherited Members
- Extension Methods
Constructors
DeploymentContext(string, DassieConfig, DassieConfig, List<XmlAttribute>, List<XmlNode>)
Represents the context passed to deployment targets.
public DeploymentContext(string SourceDirectory, DassieConfig ProjectGroup, DassieConfig ExecutableProject, List<XmlAttribute> Attributes, List<XmlNode> Elements)
Parameters
SourceDirectorystringThe source directory of the deployment.
ProjectGroupDassieConfigThe configuration of the project group.
ExecutableProjectDassieConfigThe configuration of the executable project.
AttributesList<XmlAttribute>The XML attributes passed to the deployment target.
ElementsList<XmlNode>The XML elements passed to the deployment target.
Properties
Attributes
The XML attributes passed to the deployment target.
public List<XmlAttribute> Attributes { get; init; }
Property Value
Elements
The XML elements passed to the deployment target.
public List<XmlNode> Elements { get; init; }
Property Value
ExecutableProject
The configuration of the executable project.
public DassieConfig ExecutableProject { get; init; }
Property Value
ProjectGroup
The configuration of the project group.
public DassieConfig ProjectGroup { get; init; }
Property Value
SourceDirectory
The source directory of the deployment.
public string SourceDirectory { get; init; }