Table of Contents

Class DeliveriesContext

Namespace
Cake.Frosting.PleOps.Recipe
Assembly
Cake.Frosting.PleOps.Recipe.dll

Build contexts with the project deliveries.

public class DeliveriesContext
Inheritance
DeliveriesContext
Inherited Members

Constructors

DeliveriesContext()

Initializes a new instance of the DeliveriesContext class.

public DeliveriesContext()

Properties

BinaryFiles

Gets or sets the collection of binary delivery files.

public Collection<string> BinaryFiles { get; set; }

Property Value

Collection<string>

DeliveryInfoPath

Gets or sets the path to the JSON file with the information of the deliveries.

public string DeliveryInfoPath { get; set; }

Property Value

string

DocumentationPath

Gets or sets the path to the directory containing the documentation folder.

public string DocumentationPath { get; set; }

Property Value

string

NuGetArtifactsPath

Gets or sets the path to the directory with NuGet artifacts.

public string NuGetArtifactsPath { get; set; }

Property Value

string

NuGetPackages

Gets or sets the collection of the project's NuGet packages.

public Collection<string> NuGetPackages { get; set; }

Property Value

Collection<string>

Methods

Initialize(PleOpsBuildContext)

Initializes this class from the build context and information of disk.

public void Initialize(PleOpsBuildContext context)

Parameters

context PleOpsBuildContext

Build context.

Remarks

If the artifacts.json file exists, it will load the information from there.

Exceptions

FormatException

Invalid JSON file on disk.

Save()

Serializes this class into JSON and store it in the provided path.

public void Save()