Skip to content

Commit a880f3a

Browse files
author
Cuong Pham
committed
f
1 parent f94f35c commit a880f3a

14 files changed

Lines changed: 17 additions & 10 deletions

StellarDotnetSdk.Tests/Responses/ClaimableBalanceDeserializerTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using Microsoft.VisualStudio.TestTools.UnitTesting;
44
using StellarDotnetSdk.Converters;
55
using StellarDotnetSdk.Responses;
6+
using StellarDotnetSdk.Responses.Predicates;
67

78
namespace StellarDotnetSdk.Tests.Responses;
89

StellarDotnetSdk.Tests/Responses/Operations/CreateClaimableBalanceOperationResponseTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using StellarDotnetSdk.Converters;
55
using StellarDotnetSdk.Responses;
66
using StellarDotnetSdk.Responses.Operations;
7+
using StellarDotnetSdk.Responses.Predicates;
78

89
namespace StellarDotnetSdk.Tests.Responses.Operations;
910

StellarDotnetSdk.Tests/Responses/PredicateDeserializerTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using StellarDotnetSdk.Claimants;
44
using StellarDotnetSdk.Converters;
55
using StellarDotnetSdk.Responses;
6+
using StellarDotnetSdk.Responses.Predicates;
67

78
namespace StellarDotnetSdk.Tests.Responses;
89

StellarDotnetSdk/Claimants/ClaimPredicate.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using StellarDotnetSdk.Responses.Predicates;
23
using StellarDotnetSdk.Xdr;
34

45
namespace StellarDotnetSdk.Claimants;
@@ -21,11 +22,11 @@ namespace StellarDotnetSdk.Claimants;
2122
/// </list>
2223
/// </para>
2324
/// <para>
24-
/// <strong>For deserializing Horizon API responses</strong>, use <see cref="Responses.Predicate"/> instead,
25-
/// which can be converted to this type using <see cref="Responses.Predicate.ToClaimPredicate"/>.
25+
/// <strong>For deserializing Horizon API responses</strong>, use <see cref="Predicate"/> instead,
26+
/// which can be converted to this type using <see cref="Predicate.ToClaimPredicate"/>.
2627
/// </para>
2728
/// </remarks>
28-
/// <seealso cref="Responses.Predicate"/>
29+
/// <seealso cref="Predicate"/>
2930
public abstract class ClaimPredicate
3031
{
3132
public abstract Xdr.ClaimPredicate ToXdr();

StellarDotnetSdk/Converters/PredicateJsonConverter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Text.Json;
33
using System.Text.Json.Serialization;
44
using StellarDotnetSdk.Responses;
5+
using StellarDotnetSdk.Responses.Predicates;
56

67
namespace StellarDotnetSdk.Converters;
78

StellarDotnetSdk/Responses/Claimant.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Text.Json.Serialization;
2+
using StellarDotnetSdk.Responses.Predicates;
23

34
namespace StellarDotnetSdk.Responses;
45
#nullable disable

StellarDotnetSdk/Responses/Effects/ClaimableBalanceClaimantCreatedEffectResponse.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Text.Json.Serialization;
2+
using StellarDotnetSdk.Responses.Predicates;
23

34
namespace StellarDotnetSdk.Responses.Effects;
45
#nullable disable

StellarDotnetSdk/Responses/Predicate.cs renamed to StellarDotnetSdk/Responses/Predicates/Predicate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using StellarDotnetSdk.Converters;
33
using ClaimPredicate = StellarDotnetSdk.Claimants.ClaimPredicate;
44

5-
namespace StellarDotnetSdk.Responses;
5+
namespace StellarDotnetSdk.Responses.Predicates;
66

77
/// <summary>
88
/// Base class for claim predicates in Horizon API responses.

StellarDotnetSdk/Responses/PredicateAnd.cs renamed to StellarDotnetSdk/Responses/Predicates/PredicateAnd.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using ClaimPredicate = StellarDotnetSdk.Claimants.ClaimPredicate;
22

3-
namespace StellarDotnetSdk.Responses;
3+
namespace StellarDotnetSdk.Responses.Predicates;
44

55
/// <summary>
66
/// Represents a logical AND predicate that requires both child predicates to be true.

StellarDotnetSdk/Responses/PredicateBeforeAbsoluteTime.cs renamed to StellarDotnetSdk/Responses/Predicates/PredicateBeforeAbsoluteTime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using ClaimPredicate = StellarDotnetSdk.Claimants.ClaimPredicate;
33

4-
namespace StellarDotnetSdk.Responses;
4+
namespace StellarDotnetSdk.Responses.Predicates;
55

66
/// <summary>
77
/// Represents a predicate that is satisfied when the current time is before an absolute deadline.

0 commit comments

Comments
 (0)