Class CopyFileAsAnAssetFilenameBuilder
- Namespace
- CSF.Screenplay.Performables
- Assembly
- CSF.Screenplay.Abstractions.dll
A builder for customising the CopyFileAsAnAsset action, specifying the asset filename.
public class CopyFileAsAnAssetFilenameBuilder
- Inheritance
-
CopyFileAsAnAssetFilenameBuilder
- Inherited Members
Constructors
CopyFileAsAnAssetFilenameBuilder(string)
Initializes a new instance of the CopyFileAsAnAssetFilenameBuilder class.
public CopyFileAsAnAssetFilenameBuilder(string sourcePath)
Parameters
sourcePathstringThe path to the source file which should be copied.
Methods
AsAnAssetWithTheFilename(string)
Gets a builder which may be used as a performable, or which may further customise the Action, having specified the filename for the asset.
public CopyFileAsAnAssetBuilder AsAnAssetWithTheFilename(string filename)
Parameters
filenamestringThe filename of the asset to create, including its extension, but without any path/dirctory information.
Returns
- CopyFileAsAnAssetBuilder
A builder.