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
sourcePathstringThe path to the source file which should be copied.
filenamestringThe 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
summarystringA brief human-readable summary of the asset, which will not be used as a filename.
Returns
- CopyFileAsAnAsset
A performable action