Table of Contents

Class CopyFileAsAnAssetBuilder

Namespace
CSF.Screenplay.Performables
Assembly
CSF.Screenplay.Abstractions.dll

A builder for customising the CopyFileAsAnAsset action.

public class CopyFileAsAnAssetBuilder : IGetsPerformable
Inheritance
CopyFileAsAnAssetBuilder
Implements
Inherited Members

Constructors

CopyFileAsAnAssetBuilder(string, string)

Initializes a new instance of the CopyFileAsAnAssetBuilder class.

public CopyFileAsAnAssetBuilder(string sourcePath, string filename)

Parameters

sourcePath string

The path to the source file which should be copied.

filename string

The filename of the asset to create, including its extension, but without any path/dirctory information.

Methods

WithTheSummary(string)

Gets a performable action, specifying a short human-readable summary of the asset.

public CopyFileAsAnAsset WithTheSummary(string summary)

Parameters

summary string

A brief human-readable summary of the asset, which will not be used as a filename.

Returns

CopyFileAsAnAsset

A performable action