Skip to content

Commit

Permalink
Restyled by whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Mar 22, 2023
1 parent 61391bc commit ad1ed6a
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion sample/MultiSms.Mvc/Controllers/IletiMerkeziController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ public async Task<SendingResult> Send3(CancellationToken cancellationToken) {

return result;
}
}
}
2 changes: 1 addition & 1 deletion sample/MultiSms.Mvc/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
app.UseHttpsRedirection();
app.UseAuthorization();
app.MapControllers();
app.Run();
app.Run();
2 changes: 1 addition & 1 deletion src/MultiSms/DependencyInjection/Configurations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ public static MultiSmsBuilder

return new MultiSmsBuilder(serviceCollection, configuration);
}
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Factories/Composer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ public Composer PassProviderData(params ProviderData[] data) {

return this;
}
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Helpers/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public static string Serialize(this object dataToSerialize) {
serializer.Serialize(stringwriter, dataToSerialize);
return stringwriter.ToString();
}
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Interfaces/ISmsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ public interface ISmsProvider {

Task<SendingResult> SendAsync(MessageBody message,
CancellationToken cancellationToken);
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Interfaces/ISmsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Task<SendingResult> SendAsync(MessageBody message, string providerName,

Task<SendingResult> SendAsync(MessageBody message, ISmsProvider provider,
CancellationToken cancellationToken);
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Models/MessageBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ public MessageBody(string content, string originator, PhoneNumber to,
public void SetFrom(string originator) => Originator = originator;

public static Composer Compose() => new();
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Models/MultiSmsServiceOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public void Validate() {
nameof(DefaultProvider), "Varsayilan saglayiciyi secin.");
}
}
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Models/PhoneNumber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ public static implicit

[GeneratedRegex("[\\D\\s]*(\\d[\\D\\s]*){10}")]
private static partial Regex PhoneRegex();
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Models/ProviderData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ public override bool Equals(object obj) {

public static bool operator !=(ProviderData left,
ProviderData right) => !(left == right);
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Models/SendingError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public SendingError(string code, string message, Exception exception) {
public Exception Exception { get; }

public override string ToString() { return $"{Code} | {Message}"; }
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/Models/SendingResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ public static SendingResult Failure(string providerName,
params SendingError[] errors) {
return new(false, providerName);
}
}
}
2 changes: 1 addition & 1 deletion src/MultiSms/SmsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ private void CheckMessageOrginatorValue(MessageBody message) {
message.SetFrom(Options.DefaultOrginator);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ public static MultiSmsBuilder

return builder;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ public static MultiSmsServiceFactory
builder.UseProvider(new IletiMerkeziProvider(null, configuration));
return builder;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ public IletiMerkeziMessage CreateMessage(MessageBody message) {

return option;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ public class Request {

[JsonPropertyName("order")]
public Order order { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ public static class CustomProviderData {
public const string Key = "";
public const string Hash = "";
public const string Orginator = "";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ public void Validate() {
$"{nameof(Orginator)}", "Orginator girmelisiniz.");
}
}
}
}
2 changes: 1 addition & 1 deletion src/Providers/MultiSms.JetSms.Provider/JetSmsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ public Uri CreateUrl(MessageBody message) {

return builder.Uri;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ public static string Result(string key) {
return "";
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ public static string Result(string key) {
return "";
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ public MutlucellMessage CreateMessage(MessageBody message) {

return option;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ public class Body {

[XmlElement(ElementName = "no")]
public string No { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ public static string Result(string key) {
return "";
}
}
}
}
2 changes: 1 addition & 1 deletion src/Providers/MultiSms.NetGsm.Provider/NetGsmProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ public NetGsmMessage CreateMessage(MessageBody message) {

return option;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="1.1.1" />
</ItemGroup>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ public Uri CreateUrl(MessageBody message) {

return builder.Uri;
}
}
}

0 comments on commit ad1ed6a

Please sign in to comment.