Use file scoped namepace

This commit is contained in:
2022-12-22 15:29:53 +01:00
parent 27bf5f0b24
commit 6d7e447ccc
51 changed files with 886 additions and 937 deletions

View File

@@ -2,24 +2,23 @@
using GerstITS.Examples.WebClients.Examples.Api.Configurations;
using GerstITS.Web.Rest.WebClients;
namespace GerstITS.Examples.WebClients.Examples.Api.CreationRules
namespace GerstITS.Examples.WebClients.Examples.Api.CreationRules;
internal sealed class ExampleApiClientCreatingRule : RestApiClientCreationRuleBase<ExampleApiClientConfiguration>
{
internal sealed class ExampleApiClientCreatingRule : RestApiClientCreationRuleBase<ExampleApiClientConfiguration>
#region Properties
protected override Type[] SupportedTypes => new[] { typeof(ICountry) };
#endregion
#region Constructors
public ExampleApiClientCreatingRule(ExampleApiClientConfiguration configuration,
Func<IRestWebServiceConfiguration, IRestWebServiceClient> restWebServiceClientFactory)
: base(configuration, restWebServiceClientFactory)
{
#region Properties
protected override Type[] SupportedTypes => new[] { typeof(ICountry) };
#endregion
#region Constructors
public ExampleApiClientCreatingRule(ExampleApiClientConfiguration configuration,
Func<IRestWebServiceConfiguration, IRestWebServiceClient> restWebServiceClientFactory)
: base(configuration, restWebServiceClientFactory)
{
}
}
#endregion
}
#endregion
}