36 FileStreamProvider = fileStreamProvider ??
throw new ArgumentNullException(nameof(fileStreamProvider));
37 SwarmService = swarmService ??
throw new ArgumentNullException(nameof(swarmService));
38 TargetVersion = targetVersion ??
throw new ArgumentNullException(nameof(targetVersion));
Necessary data for performing a server update.
IFileStreamProvider FileStreamProvider
The IFileStreamProvider that contains the update zip file.
ServerUpdateOperation(IFileStreamProvider fileStreamProvider, ISwarmService swarmService, Version targetVersion)
Initializes a new instance of the ServerUpdateOperation class.
Version TargetVersion
The Version being updated to.
Helps keep servers connected to the same database in sync by coordinating updates.
Interface for asynchronously consuming Streams of files.
Used for swarm operations. Functions may be no-op based on configuration.