Exemplo n.º 1
0
        public void ScpUploadEventArgsConstructorTest()
        {
            string             filename = string.Empty; // TODO: Initialize to an appropriate value
            long               size     = 0;            // TODO: Initialize to an appropriate value
            long               uploaded = 0;            // TODO: Initialize to an appropriate value
            ScpUploadEventArgs target   = new ScpUploadEventArgs(filename, size, uploaded);

            Assert.Inconclusive("TODO: Implement code to verify target");
        }
Exemplo n.º 2
0
 private void OnUploadProgress(object sender, ScpUploadEventArgs args)
 {
     Console.WriteLine($"Uploading {args.Filename} : {args.Uploaded} of {args.Size}");
 }