Skip to content

Commit 2ab7708

Browse files
committed
fixup: formatting
Signed-off-by: Todd Baert <[email protected]>
1 parent af7bc70 commit 2ab7708

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

src/OpenFeature/Api.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void SetProvider(FeatureProvider featureProvider)
5757
/// it should be accessed once for an operation, and then that reference should be used for all dependent
5858
/// operations. For instance, during an evaluation the flag resolution method, and the provider hooks
5959
/// should be accessed from the same reference, not two independent calls to
60-
/// <see cref="Api.GetProvider"/>.
60+
/// <see cref="GetProvider"/>.
6161
/// </para>
6262
/// </summary>
6363
/// <returns><see cref="FeatureProvider"/></returns>
@@ -79,7 +79,7 @@ public FeatureProvider GetProvider()
7979
/// <para>
8080
/// This method is not guaranteed to return the same provider instance that may be used during an evaluation
8181
/// in the case where the provider may be changed from another thread.
82-
/// For multiple dependent provider operations see <see cref="Api.GetProvider"/>.
82+
/// For multiple dependent provider operations see <see cref="GetProvider"/>.
8383
/// </para>
8484
/// </summary>
8585
/// <returns><see cref="ClientMetadata"/></returns>
@@ -110,7 +110,7 @@ public FeatureClient GetClient(string name = null, string version = null, ILogge
110110
/// Adds a hook to global hooks list
111111
/// <para>
112112
/// Hooks which are dependent on each other should be provided in a collection
113-
/// using the <see cref="AddHooks(System.Collections.Generic.IEnumerable{Hook})"/>.
113+
/// using the <see cref="AddHooks(IEnumerable{Hook})"/>.
114114
/// </para>
115115
/// </summary>
116116
/// <param name="hook">Hook that implements the <see cref="Hook"/> interface</param>

src/OpenFeature/OpenFeatureClient.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
using Microsoft.Extensions.Logging.Abstractions;
88
using OpenFeature.Constant;
99
using OpenFeature.Error;
10-
using OpenFeature.Model;
1110
using OpenFeature.Extension;
11+
using OpenFeature.Model;
1212

1313
namespace OpenFeature
1414
{
@@ -107,7 +107,7 @@ public FeatureClient(string name, string version, ILogger logger = null, Evaluat
107107
/// Add hook to client
108108
/// <para>
109109
/// Hooks which are dependent on each other should be provided in a collection
110-
/// using the <see cref="AddHooks(System.Collections.Generic.IEnumerable{Hook})"/>.
110+
/// using the <see cref="AddHooks(IEnumerable{Hook})"/>.
111111
/// </para>
112112
/// </summary>
113113
/// <param name="hook">Hook that implements the <see cref="Hook"/> interface</param>

test/OpenFeature.Tests/OpenFeatureClientTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Collections.Immutable;
43
using System.Linq;
54
using System.Threading.Tasks;

test/OpenFeature.Tests/StructureTests.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Collections.Immutable;
4-
using System.Linq;
5-
using FluentAssertions;
64
using OpenFeature.Model;
75
using Xunit;
86

0 commit comments

Comments
 (0)