Skip to content

Commit 675945d

Browse files
committed
Slight adjustment to code formatting rules
1 parent feba57e commit 675945d

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

src/RobinTTY.NordigenApiClient/NordigenClient.cs

+27-27
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,33 @@ public class NordigenClient : INordigenClient
2020
internal readonly NordigenClientCredentials Credentials;
2121
private JsonWebTokenPair? _jsonWebTokenPair;
2222

23+
/// <inheritdoc />
24+
public JsonWebTokenPair? JsonWebTokenPair
25+
{
26+
get => _jsonWebTokenPair;
27+
set
28+
{
29+
_jsonWebTokenPair = value;
30+
if (value is not null)
31+
TokenPairUpdated?.Invoke(this, new TokenPairUpdatedEventArgs(value));
32+
}
33+
}
34+
35+
/// <inheritdoc />
36+
public ITokenEndpoint TokenEndpoint { get; }
37+
38+
/// <inheritdoc />
39+
public IInstitutionsEndpoint InstitutionsEndpoint { get; }
40+
41+
/// <inheritdoc />
42+
public IAgreementsEndpoint AgreementsEndpoint { get; }
43+
44+
/// <inheritdoc />
45+
public IRequisitionsEndpoint RequisitionsEndpoint { get; }
46+
47+
/// <inheritdoc />
48+
public IAccountsEndpoint AccountsEndpoint { get; }
49+
2350
/// <summary>
2451
/// Creates a new instance of <see cref="NordigenClient" />.
2552
/// </summary>
@@ -49,33 +76,6 @@ public NordigenClient(HttpClient httpClient, NordigenClientCredentials credentia
4976
AccountsEndpoint = new AccountsEndpoint(this);
5077
}
5178

52-
/// <inheritdoc />
53-
public JsonWebTokenPair? JsonWebTokenPair
54-
{
55-
get => _jsonWebTokenPair;
56-
set
57-
{
58-
_jsonWebTokenPair = value;
59-
if (value is not null)
60-
TokenPairUpdated?.Invoke(this, new TokenPairUpdatedEventArgs(value));
61-
}
62-
}
63-
64-
/// <inheritdoc />
65-
public ITokenEndpoint TokenEndpoint { get; }
66-
67-
/// <inheritdoc />
68-
public IInstitutionsEndpoint InstitutionsEndpoint { get; }
69-
70-
/// <inheritdoc />
71-
public IAgreementsEndpoint AgreementsEndpoint { get; }
72-
73-
/// <inheritdoc />
74-
public IRequisitionsEndpoint RequisitionsEndpoint { get; }
75-
76-
/// <inheritdoc />
77-
public IAccountsEndpoint AccountsEndpoint { get; }
78-
7979
/// <inheritdoc />
8080
public event EventHandler<TokenPairUpdatedEventArgs>? TokenPairUpdated;
8181

0 commit comments

Comments
 (0)