Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant accessibility modifiers from interface members #1050

Merged
merged 2 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ namespace Backbone.ConsumerApi.Tests.Performance.SnapshotCreator.Application.Mes

public interface IMessageDistributor
{
public void Distribute(IList<PoolEntry> pools);
void Distribute(IList<PoolEntry> pools);
}
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void PrintStringToFile(string value, string filename)

public interface IPrinter
{
public void OutputAll(IList<PoolEntry> pools, PrintTarget target = PrintTarget.All);
void OutputAll(IList<PoolEntry> pools, PrintTarget target = PrintTarget.All);
protected internal void PrintRelationships(IList<PoolEntry> pools, bool summaryOnly = false);
protected internal void PrintMessages(IList<PoolEntry> pools, bool summaryOnly = false);
void PrintStringToFile(string value, string filename);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ namespace Backbone.ConsumerApi.Tests.Performance.SnapshotCreator.Application.Rel

public interface IRelationshipDistributor
{
public void Distribute(IList<PoolEntry> pools);
void Distribute(IList<PoolEntry> pools);
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

public interface IAuthenticator
{
public Task Authenticate(HttpRequestMessage request);
Task Authenticate(HttpRequestMessage request);
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ namespace Backbone.BuildingBlocks.SDK.Endpoints.Common.Types;

public interface IQueryParameterStorage
{
public NameValueCollection ToQueryParameters();
NameValueCollection ToQueryParameters();
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ namespace Backbone.BuildingBlocks.SDK.Endpoints.Common.Types;

public interface IResponse
{
public bool IsSuccess { get; }
public bool IsError { get; }
public ApiError? Error { get; set; }
public HttpStatusCode Status { get; set; }
bool IsSuccess { get; }
bool IsError { get; }
ApiError? Error { get; set; }
HttpStatusCode Status { get; set; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Backbone.Modules.Devices.Application.Infrastructure.Persistence.Reposi
public interface IOAuthClientsRepository
{
Task<IEnumerable<OAuthClient>> FindAll(CancellationToken cancellationToken, bool track = false);
public Task<Dictionary<string, int>> CountIdentities(List<string> clients, CancellationToken cancellationToken);
Task<Dictionary<string, int>> CountIdentities(List<string> clients, CancellationToken cancellationToken);
Task<OAuthClient?> Find(string clientId, CancellationToken cancellationToken, bool track = false);
Task<bool> Exists(string clientId, CancellationToken cancellationToken);
Task Add(OAuthClient client, string clientSecret, CancellationToken cancellationToken);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ namespace Backbone.Modules.Quotas.Domain.Aggregates;

public interface ICreatedAt
{
public DateTime CreatedAt { get; }
DateTime CreatedAt { get; }
}
2 changes: 1 addition & 1 deletion Modules/Quotas/src/Quotas.Domain/IMetricCalculator.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
namespace Backbone.Modules.Quotas.Domain;
public interface IMetricCalculator
{
public Task<uint> CalculateUsage(DateTime from, DateTime to, string identityAddress, CancellationToken cancellationToken);
Task<uint> CalculateUsage(DateTime from, DateTime to, string identityAddress, CancellationToken cancellationToken);
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ namespace Backbone.Modules.Tags.Application.Infrastructure.Persistence.Repositor

public interface ITagsRepository
{
public IEnumerable<string> GetSupportedLanguages();
public Dictionary<string, Dictionary<string, TagInfo>> GetAttributes();
IEnumerable<string> GetSupportedLanguages();
Dictionary<string, Dictionary<string, TagInfo>> GetAttributes();
}
Loading