Adopt dotnet core editorconfig, big reformating

This commit is contained in:
nicolas.dorier
2017-10-27 17:53:04 +09:00
parent b10da976c7
commit 4deb7c3270
199 changed files with 66960 additions and 46532 deletions

View File

@@ -5,35 +5,35 @@ using System.Text;
namespace BTCPayServer.Models
{
public class BitpayErrorsModel
{
public BitpayErrorsModel()
{
public class BitpayErrorsModel
{
public BitpayErrorsModel()
{
}
public BitpayErrorsModel(BitpayHttpException ex)
{
Error = ex.Message;
}
}
public BitpayErrorsModel(BitpayHttpException ex)
{
Error = ex.Message;
}
[JsonProperty("errors", DefaultValueHandling = DefaultValueHandling.Ignore)]
public BitpayErrorModel[] Errors
{
get; set;
}
[JsonProperty("error", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Error
{
get; set;
}
}
[JsonProperty("errors", DefaultValueHandling = DefaultValueHandling.Ignore)]
public BitpayErrorModel[] Errors
{
get; set;
}
[JsonProperty("error", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Error
{
get; set;
}
}
public class BitpayErrorModel
{
[JsonProperty("error")]
public string Error
{
get; set;
}
}
public class BitpayErrorModel
{
[JsonProperty("error")]
public string Error
{
get; set;
}
}
}