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
stringprovider
UpdateProviderfilePath
stringfileStreamProvider
Func<Stream>
FileUpdate(string, UpdateProvider, string, Func<Stream>, bool)
public FileUpdate(string id, UpdateProvider provider, string filePath, Func<Stream> fileStreamProvider, bool overwrite)
Parameters
Methods
Execute(UpdateContext)
public override void Execute(UpdateContext context)
Parameters
context
UpdateContext