Fields (2) Methods (1) Properties (5)
Namespace: SchwabenCode.QuickIO.Transfer.Events

Syntax

public class QuickIOTransferFileCopyFinishedEventArgs : QuickIOTransferJobWriteWithSourceEventArgs

Basetype

Summary

Contains information when a file copy operation has been finished successfully

Fields

private  Nullable<Double> _bytesPerSecond
private  Nullable<TimeSpan> _duration

Methods

public void QuickIOTransferFileCopyFinishedEventArgs(IQuickIOTransferJob job, String sourcePath, String targetPath, Int64 totalBytes, DateTime transferStarted)

Parameters

job

IQuickIOTransferJob

Affected job

sourcePath

String

Source file path

targetPath

String

Target file path

totalBytes

Int64

Total bytes to transfer

transferStarted

DateTime

Properties

BytesPerSecond

Live bytes per second

public Double BytesPerSecond { get; }

Duration

Live transfer duration

public TimeSpan Duration { get; }

TotalBytes

Total bytes of file

public UInt64 TotalBytes { get; set; }

TransferFinished

Estimated Timestamp when transfer is finished

public DateTime TransferFinished { get; set; }

TransferStarted

Time transfer of file started

public DateTime TransferStarted { get; set; }