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

@@ -6,83 +6,83 @@ using NBitcoin;
namespace BTCPayServer.Models
{
public class TokenRequest
{
[JsonProperty(PropertyName = "id")]
public string Id
{
get; set;
}
public class TokenRequest
{
[JsonProperty(PropertyName = "id")]
public string Id
{
get; set;
}
[JsonProperty(PropertyName = "guid")]
public string Guid
{
get; set;
}
[JsonProperty(PropertyName = "facade")]
public string Facade
{
get; set;
}
[JsonProperty(PropertyName = "count")]
public int Count
{
get; set;
}
[JsonProperty(PropertyName = "label")]
public string Label
{
get; set;
}
[JsonProperty(PropertyName = "guid")]
public string Guid
{
get; set;
}
[JsonProperty(PropertyName = "facade")]
public string Facade
{
get; set;
}
[JsonProperty(PropertyName = "count")]
public int Count
{
get; set;
}
[JsonProperty(PropertyName = "label")]
public string Label
{
get; set;
}
[JsonProperty(PropertyName = "pairingCode")]
public string PairingCode
{
get; set;
}
}
[JsonProperty(PropertyName = "pairingCode")]
public string PairingCode
{
get; set;
}
}
public class PairingCodeResponse
{
[JsonProperty(PropertyName = "pairingCode")]
public string PairingCode
{
get; set;
}
public class PairingCodeResponse
{
[JsonProperty(PropertyName = "pairingCode")]
public string PairingCode
{
get; set;
}
[JsonProperty(PropertyName = "pairingExpiration")]
[JsonConverter(typeof(DateTimeJsonConverter))]
public DateTimeOffset PairingExpiration
{
get; set;
}
[JsonProperty(PropertyName = "pairingExpiration")]
[JsonConverter(typeof(DateTimeJsonConverter))]
public DateTimeOffset PairingExpiration
{
get; set;
}
[JsonProperty(PropertyName = "dateCreated")]
[JsonConverter(typeof(DateTimeJsonConverter))]
public DateTimeOffset DateCreated
{
get; set;
}
[JsonProperty(PropertyName = "dateCreated")]
[JsonConverter(typeof(DateTimeJsonConverter))]
public DateTimeOffset DateCreated
{
get; set;
}
[JsonProperty(PropertyName = "facade")]
public string Facade
{
get;
set;
}
[JsonProperty(PropertyName = "facade")]
public string Facade
{
get;
set;
}
[JsonProperty(PropertyName = "token")]
public string Token
{
get;
set;
}
[JsonProperty(PropertyName = "token")]
public string Token
{
get;
set;
}
[JsonProperty(PropertyName = "label")]
public string Label
{
get;
set;
}
}
[JsonProperty(PropertyName = "label")]
public string Label
{
get;
set;
}
}
}