Table of Contents

Class SaveStreamAsAnAssetBuilder

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

A builder for customising the SaveAStreamAsAnAsset action.

public class SaveStreamAsAnAssetBuilder : IGetsPerformable
Inheritance
SaveStreamAsAnAssetBuilder
Implements
Inherited Members

Constructors

SaveStreamAsAnAssetBuilder(Stream, string)

Initializes a new instance of the CopyFileAsAnAssetBuilder class.

public SaveStreamAsAnAssetBuilder(Stream stream, string filename)

Parameters

stream Stream

The stream which is to be saved.

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 SaveAStreamAsAnAsset WithTheSummary(string summary)

Parameters

summary string

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

Returns

SaveAStreamAsAnAsset

A performable action