DockerfileStatement Methods
Class Methods 1 member
Represents a statement that can be written to a Dockerfile.
WriteStatementAsync(StreamWriter, CancellationToken) Section titled WriteStatementAsync(StreamWriter, CancellationToken) abstract Task Writes the statement to the specified writer.
public abstract class DockerfileStatement{ public abstract Task WriteStatementAsync( StreamWriter writer, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
writer StreamWriter The writer to write to. cancellationToken CancellationToken optional A cancellation token. Returns
Task A task representing the asynchronous write operation.