Skip to content

Commit 3c1dd7a

Browse files
committed
Correct code style
1 parent e1b1ec3 commit 3c1dd7a

File tree

7 files changed

+213
-213
lines changed

7 files changed

+213
-213
lines changed

RedditSharp/Moderator Actions/ModeratorUser.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ namespace RedditSharp
99
/// </summary>
1010
public class ModeratorUser : RelUser
1111
{
12-
public ModeratorUser(IWebAgent agent, JToken json) : base(agent, json)
13-
{
14-
}
12+
public ModeratorUser(IWebAgent agent, JToken json) : base(agent, json)
13+
{
14+
}
1515

16-
/// <summary>
17-
/// Permissions the moderator has in the subreddit.
18-
/// </summary>
19-
[JsonProperty("mod_permissions")]
16+
/// <summary>
17+
/// Permissions the moderator has in the subreddit.
18+
/// </summary>
19+
[JsonProperty("mod_permissions")]
2020
[JsonConverter(typeof (ModeratorPermissionConverter))]
2121
public ModeratorPermission Permissions { get; private set; }
2222
}

RedditSharp/Things/Comment.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ private void ParseComments(JToken data, Thing sender)
164164
[JsonIgnore]
165165
public Thing Parent { get; internal set; }
166166

167-
/// <inheritdoc/>
168-
public override string Shortlink => Permalink.ToString();
167+
/// <inheritdoc/>
168+
public override string Shortlink => Permalink.ToString();
169169

170170
/// <summary>
171171
/// Reply to this comment.

RedditSharp/Things/Contributor.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ public class Contributor : RelUser
1414
public Contributor(IWebAgent agent, JToken json) : base(agent, json) {
1515
}
1616

17-
/// <summary>
18-
/// Date contributor was added.
19-
/// </summary>
20-
[Obsolete("User RelUser.Date")]
21-
public DateTime? DateAdded { get => DateUTC; private set => DateUTC = value; }
22-
}
17+
/// <summary>
18+
/// Date contributor was added.
19+
/// </summary>
20+
[Obsolete("User RelUser.Date")]
21+
public DateTime? DateAdded { get => DateUTC; private set => DateUTC = value; }
22+
}
2323
}

RedditSharp/Things/RedditUser.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public RedditUser(IWebAgent agent, JToken json) : base(agent, json)
3030
/// <inheritdoc/>
3131
internal override JToken GetJsonData(JToken json) => json["name"] == null ? json["data"] : json;
3232

33-
/// <summary>
34-
/// This method has no effect.
35-
/// </summary>
36-
/// <returns>This same <see cref="RedditUser"/>.</returns>
37-
public override Task<RedditUser> GetFullUserAsync() => Task.FromResult(this);
33+
/// <summary>
34+
/// This method has no effect.
35+
/// </summary>
36+
/// <returns>This same <see cref="RedditUser"/>.</returns>
37+
public override Task<RedditUser> GetFullUserAsync() => Task.FromResult(this);
3838

3939
/// <summary>
4040
/// Returns true if the user has reddit gold.

RedditSharp/Things/User/NotedUser.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
namespace RedditSharp.Things.User
66
{
7-
public class NotedUser : RelUser
8-
{
9-
public NotedUser(IWebAgent agent, JToken json) : base(agent, json)
10-
{
11-
}
7+
public class NotedUser : RelUser
8+
{
9+
public NotedUser(IWebAgent agent, JToken json) : base(agent, json)
10+
{
11+
}
1212

13-
[JsonProperty("note")]
14-
public String Note { get; internal set; }
15-
}
13+
[JsonProperty("note")]
14+
public String Note { get; internal set; }
15+
}
1616
}

0 commit comments

Comments
 (0)