Skip to content

Commit dc00d86

Browse files
authored
Merge pull request #167 from chuggafan/2.0-.Net-Core
No longer roll own serializable
2 parents 2d1807f + e96cdb4 commit dc00d86

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+196
-315
lines changed

Backup/RedditSharpTests.xproj

Lines changed: 0 additions & 26 deletions
This file was deleted.

Backup/project.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

RedditSharp/AuthProvider.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using Newtonsoft.Json.Linq;
2-
using RedditSharp.Things;
31
using System;
42
using System.Security.Authentication;
53
using System.Text;

RedditSharp/Catchpha/CaptchaFailedException.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#pragma warning disable 1591
2-
using System;
1+
using System;
32

43
namespace RedditSharp
54
{
@@ -22,5 +21,4 @@ public CaptchaFailedException(string message, Exception inner)
2221

2322
}
2423
}
25-
}
26-
#pragma warning restore 1591
24+
}

RedditSharp/CommentsEnumerable.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using RedditSharp.Things;
2-
using System;
32
using System.Collections.Generic;
43
using System.Linq;
54
using System.Threading;

RedditSharp/Domain.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ public class Domain : RedditObject
3636
/// </summary>
3737
public Listing<Post> GetHot(int max = -1) => Listing<Post>.Create(WebAgent, DomainHotUrl, max, 100);
3838

39-
#pragma warning disable 1591
4039
protected internal Domain(IWebAgent agent, Uri domain) : base(agent)
4140
{
4241
Name = domain.Host;
4342
}
44-
#pragma warning restore 1591
4543

4644
/// <inheritdoc/>
4745
public override string ToString() => "/domain/" + Name;

RedditSharp/Exceptions/DuplicateLinkException.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ namespace RedditSharp
77
/// </summary>
88
public class DuplicateLinkException : RedditException
99
{
10-
#pragma warning disable 1591
1110
public DuplicateLinkException()
1211
{
1312
}
@@ -21,7 +20,6 @@ public DuplicateLinkException(string message, Exception inner)
2120
: base(message, inner)
2221
{
2322
}
24-
#pragma warning restore 1591
2523
}
2624
}
2725

RedditSharp/Exceptions/RateLimitException.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#pragma warning disable 1591
21
using System;
32

43
namespace RedditSharp
@@ -13,4 +12,3 @@ public RateLimitException(TimeSpan timeToReset)
1312
}
1413
}
1514
}
16-
#pragma warning restore 1591

RedditSharp/Exceptions/ToolBoxUserNotesException.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#pragma warning disable 1591
2-
using System;
1+
using System;
32

43
namespace RedditSharp
54
{
@@ -19,5 +18,4 @@ public ToolBoxUserNotesException(string message, Exception inner)
1918
{
2019
}
2120
}
22-
}
23-
#pragma warning restore 1591
21+
}

RedditSharp/Extensions/DateTimeExtensions/UnixTimeStamp.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#pragma warning disable 1591
2-
using System;
1+
using System;
32

43
namespace RedditSharp
54
{
@@ -13,5 +12,4 @@ public static DateTime UnixTimeStampToDateTime(this long unixTimeStamp)
1312
return dtDateTime;
1413
}
1514
}
16-
}
17-
#pragma warning restore 1591
15+
}

0 commit comments

Comments
 (0)