-
-
Notifications
You must be signed in to change notification settings - Fork 746
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Housekeeping Update tests to remove need for comments (#1697)
* Housekeeping Update tests to remove need for comments * Reduce unnecessary warnings
- Loading branch information
1 parent
d09db72
commit aa78fc0
Showing
19 changed files
with
693 additions
and
298 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
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
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 |
---|---|---|
@@ -1,14 +1,36 @@ | ||
namespace Refit | ||
{ | ||
/// <summary> | ||
/// ISettingsFor | ||
/// </summary> | ||
public interface ISettingsFor | ||
{ | ||
/// <summary> | ||
/// Gets the settings. | ||
/// </summary> | ||
/// <value> | ||
/// The settings. | ||
/// </value> | ||
RefitSettings? Settings { get; } | ||
} | ||
|
||
public class SettingsFor<T> : ISettingsFor | ||
/// <summary> | ||
/// SettingsFor. | ||
/// </summary> | ||
/// <typeparam name="T"></typeparam> | ||
/// <seealso cref="Refit.ISettingsFor" /> | ||
/// <remarks> | ||
/// Initializes a new instance of the <see cref="SettingsFor{T}"/> class. | ||
/// </remarks> | ||
/// <param name="settings">The settings.</param> | ||
public class SettingsFor<T>(RefitSettings? settings) : ISettingsFor | ||
{ | ||
public SettingsFor(RefitSettings? settings) => Settings = settings; | ||
|
||
public RefitSettings? Settings { get; } | ||
/// <summary> | ||
/// Gets the settings. | ||
/// </summary> | ||
/// <value> | ||
/// The settings. | ||
/// </value> | ||
public RefitSettings? Settings { get; } = settings; | ||
} | ||
} |
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
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
Oops, something went wrong.