BuildMaster SDK Reference
Version:

Add(Inedo.BuildMaster.Files.FileEntryInfo fileEntry, Inedo.Agents.IFileOperationsExecuter fileOps) Method

Adds a file to the artifact.

Syntax

public void Add(Inedo.BuildMaster.Files.FileEntryInfo fileEntry, Inedo.Agents.IFileOperationsExecuter fileOps)

Parameters

fileEntry
Type: Inedo.BuildMaster.Files.FileEntryInfo

The file to add.

fileOps
Type: Inedo.Agents.IFileOperationsExecuter

The Inedo.Agents.IFileOperationsExecuter to read the file from.

Exceptions

System.ArgumentNullException

fileEntry or fileOps is null (Nothing in Visual Basic).