Table of Contents

Class FileUpdate

Namespace
Dynamicweb.Updates
Assembly
Dynamicweb.Core.dll

Represents an update which writes the contents from a provided stream to a specific file.

public class FileUpdate : Update
Inheritance
FileUpdate
Inherited Members

Constructors

FileUpdate(string, UpdateProvider, string, Func<Stream>)

public FileUpdate(string id, UpdateProvider provider, string filePath, Func<Stream> fileStreamProvider)

Parameters

id string
provider UpdateProvider
filePath string
fileStreamProvider Func<Stream>

FileUpdate(string, UpdateProvider, string, Func<Stream>, bool)

public FileUpdate(string id, UpdateProvider provider, string filePath, Func<Stream> fileStreamProvider, bool overwrite)

Parameters

id string
provider UpdateProvider
filePath string
fileStreamProvider Func<Stream>
overwrite bool

Methods

Execute(UpdateContext)

public override void Execute(UpdateContext context)

Parameters

context UpdateContext
To top