Skip to content

Commit

Permalink
cleaning up resharper warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
celluj34 committed Feb 22, 2016
1 parent cb11d35 commit 787470f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 20 deletions.
12 changes: 5 additions & 7 deletions DeepBotPointExtractor/Models/CommandResult.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
using Newtonsoft.Json;

namespace DeepBotPointExtractor.Models
namespace DeepBotPointExtractor.Models
{
public class CommandResult
{
[JsonProperty(PropertyName = "function")]
public string Function {get;set;}
//[JsonProperty(PropertyName = "function")]
//public string Function {get;set;}

[JsonProperty(PropertyName = "param")]
public string Parameter {get;set;}
//[JsonProperty(PropertyName = "param")]
//public string Parameter {get;set;}
}
}
25 changes: 12 additions & 13 deletions DeepBotPointExtractor/Models/User.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Newtonsoft.Json;

namespace DeepBotPointExtractor.Models
Expand All @@ -11,22 +10,22 @@ public class User
[JsonProperty(PropertyName = "points")]
public decimal Points {get;set;}

[JsonProperty(PropertyName = "watch_time")]
public decimal WatchTime {get;set;}
//[JsonProperty(PropertyName = "watch_time")]
//public decimal WatchTime {get;set;}

[JsonProperty(PropertyName = "vip")]
public int Vip {get;set;}
//[JsonProperty(PropertyName = "vip")]
//public int Vip {get;set;}

[JsonProperty(PropertyName = "mod")]
public int Mod {get;set;}
//[JsonProperty(PropertyName = "mod")]
//public int Mod {get;set;}

[JsonProperty(PropertyName = "join_date")]
public DateTime JoinDate {get;set;}
//[JsonProperty(PropertyName = "join_date")]
//public DateTime JoinDate {get;set;}

[JsonProperty(PropertyName = "last_seen")]
public DateTime LastSeen {get;set;}
//[JsonProperty(PropertyName = "last_seen")]
//public DateTime LastSeen {get;set;}

[JsonProperty(PropertyName = "vip_expiry")]
public DateTime VipExpiry {get;set;}
//[JsonProperty(PropertyName = "vip_expiry")]
//public DateTime VipExpiry {get;set;}
}
}

0 comments on commit 787470f

Please sign in to comment.