Commit Graph

12 Commits

Author SHA1 Message Date
Monica S
7366cd4361 feature: Implement Dispose for types which have disposable data (#1171)
* Initial set of dispose implementations

Not handled yet:
- Discord.Net.Websocket/Entities/SocketGuild
- Discord.Net.Tests

* Refactor DiscordSocketClient init into ctor

This way we remove an IDisposableAnalyzer warning for not disposing
the client when we set the client variable.

* Dispose of clients when disposing sharded client

* Finish implementing IDisposable where appropriate

I opted to use NoWarn in the Tests project as it wasn't really necessary
considering that our tests only run once

* Tweak samples after feedback
2018-11-28 20:18:16 -05:00
Still Hsu
82cfdffc65 Add various optimizations and cleanups (#1114)
* Change all Select(... as ...) to OfType

* Add changes according to 194a8aa427
2018-08-30 17:36:44 -04:00
Hawx
bbbac85c46 Update Dependencies and support NS2.0 builds (#1046)
* Update deps, fix test warnings.

* Support ns2.0

* Fix typo

* Remove ns1.1 support

* Net.Http and Net.Websockets.Client are not needed in ns2.0

* Move to net46 per volt

* Remove ns1.3 constants
2018-05-25 08:14:28 -04:00
RogueException
79fd14a95f Various audio fixes 2017-04-09 01:05:52 -03:00
RogueException
ee4cde69a4 Added UDP keepalives and latency 2017-04-07 22:52:07 -03:00
RogueException
0d361def93 Fixed a couple incoming audio bugs 2017-04-06 16:18:21 -03:00
RogueException
3e988c7549 Fixed incoming audio, removed nameresolution dep. 2017-04-01 12:59:27 -03:00
RogueException
8e0c65498b Cleaned up audio code 2017-02-26 10:57:28 -04:00
RogueException
b76c744447 Internally exposed several ApiClient props 2017-01-24 11:38:53 -04:00
RogueException
e2934abe29 Made API models internal. Removed Discord.Net.API. 2017-01-01 23:28:42 -04:00
RogueException
73461d60c1 Changed bitrate to bits/sec 2016-12-30 17:20:59 -04:00
RogueException
8326d01f62 Isolated API definitions to their own library 2016-12-23 16:57:29 -04:00