-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from kauxam/feature/checkconsistency
Feature/checkconsistency
- Loading branch information
Showing
7 changed files
with
133 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Tangle.Net/Tangle.Net/Repository/DataTransfer/ConsistencyInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
namespace Tangle.Net.Repository.DataTransfer | ||
{ | ||
/// <summary> | ||
/// The consistency info. | ||
/// </summary> | ||
public class ConsistencyInfo | ||
{ | ||
#region Public Properties | ||
|
||
/// <summary> | ||
/// Gets or sets the duration. | ||
/// </summary> | ||
public int Duration { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the state. | ||
/// </summary> | ||
public bool State { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the info. | ||
/// </summary> | ||
public string Info { get; set; } | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
Tangle.Net/Tangle.Net/Repository/Responses/CheckConsistencyResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Tangle.Net.Repository.Responses | ||
{ | ||
public class CheckConsistencyResponse | ||
{ | ||
public int Duration { get; set; } | ||
public bool State { get; set; } | ||
public string Info { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters