# < Summary

Information

Class: | Renci.SshNet.Sftp.SftpSynchronizeDirectoriesAsyncResult
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Sftp\SftpSynchronizeDirectoriesAsyncResult.cs

Line coverage
100%

Covered lines: | 7
Uncovered lines: | 0
Coverable lines: | 7
Total lines: | 38
Line coverage: | 100%

Branch coverage
N/A

Covered branches: | 0
Total branches: | 0
Branch coverage: | N/A

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
get_FilesRead() | 100% | 1 | 100%
.ctor(...) | 100% | 1 | 100%
Update(...) | 100% | 1 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Sftp\SftpSynchronizeDirectoriesAsyncResult.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | `using System.Collections.Generic;`
|  | `3` |  | `using System.IO;`
|  | `4` |  | ``
|  | `5` |  | `using Renci.SshNet.Common;`
|  | `6` |  | ``
|  | `7` |  | `namespace Renci.SshNet.Sftp`
|  | `8` |  | `{`
|  | `9` |  | `/// <summary>`
|  | `10` |  | `/// Encapsulates the results of an asynchronous directory synchronization operation.`
|  | `11` |  | `/// </summary>`
|  | `12` |  | `public class SftpSynchronizeDirectoriesAsyncResult : AsyncResult<IEnumerable<FileInfo>>`
|  | `13` |  | `{`
|  | `14` |  | `/// <summary>`
|  | `15` |  | `/// Gets the number of files read so far.`
|  | `16` |  | `/// </summary>`
| 1 | `17` |  | `public int FilesRead { get; private set; }`
|  | `18` |  | ``
|  | `19` |  | `/// <summary>`
|  | `20` |  | `/// Initializes a new instance of the <see cref="SftpSynchronizeDirectoriesAsyncResult" /> class.`
|  | `21` |  | `/// </summary>`
|  | `22` |  | `/// <param name="asyncCallback">The async callback.</param>`
|  | `23` |  | `/// <param name="state">The state.</param>`
|  | `24` |  | `public SftpSynchronizeDirectoriesAsyncResult(AsyncCallback asyncCallback, object state)`
| 1 | `25` |  | `: base(asyncCallback, state)`
| 1 | `26` |  | `{`
| 1 | `27` |  | `}`
|  | `28` |  | ``
|  | `29` |  | `/// <summary>`
|  | `30` |  | `/// Updates asynchronous operation status information.`
|  | `31` |  | `/// </summary>`
|  | `32` |  | `/// <param name="filesRead">The files read.</param>`
|  | `33` |  | `internal void Update(int filesRead)`
| 1 | `34` |  | `{`
| 1 | `35` |  | `FilesRead = filesRead;`
| 1 | `36` |  | `}`
|  | `37` |  | `}`
|  | `38` |  | `}`

# Methods/Properties

get_FilesRead()
.ctor(System.AsyncCallback,System.Object)
Update(System.Int32)