This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Compare commits
merge into: youys:dev
youys:0.9
youys:2.4.1
youys:3.0-old
youys:4.0
youys:5.0
youys:absalias
youys:blank
youys:ci/docs
youys:dev
youys:dispose-tweaks
youys:experiment/doc-redesign
youys:experiment/emoji-validation
youys:feature/3.0-serialization-generator
youys:feature/automod
youys:feature/marshal-by-ref
youys:feature/reset-fater
youys:feature/rest-on-socket
youys:fix/exception-on-logout
youys:fix/fix-thread-member-download
youys:fix/if-docs
youys:next
youys:release/1.0.2
youys:release/2.4.0
youys:v4/message-builder
youys:v4/state-cache-providers
youys:voice-allocs
...
pull from: youys:feature/marshal-by-ref
youys:0.9
youys:2.4.1
youys:3.0-old
youys:4.0
youys:5.0
youys:absalias
youys:blank
youys:ci/docs
youys:dev
youys:dispose-tweaks
youys:experiment/doc-redesign
youys:experiment/emoji-validation
youys:feature/3.0-serialization-generator
youys:feature/automod
youys:feature/marshal-by-ref
youys:feature/reset-fater
youys:feature/rest-on-socket
youys:fix/exception-on-logout
youys:fix/fix-thread-member-download
youys:fix/if-docs
youys:next
youys:release/1.0.2
youys:release/2.4.0
youys:v4/message-builder
youys:v4/state-cache-providers
youys:voice-allocs
1 Commits
dev
...
feature/marshal-by-ref
Author
SHA1
Message
Date
Quin Lynch
988536635b
Add marshal by ref to entities
3 years ago
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
+2
-2
src/Discord.Net.Rest/Entities/RestEntity.cs
+1
-1
src/Discord.Net.WebSocket/Entities/SocketEntity.cs
+ 2
- 2
src/Discord.Net.Rest/Entities/RestEntity.cs
View File
@@ -1,8 +1,8 @@
using System;
using System;
namespace Discord.Rest
{
public abstract class RestEntity<T> : IEntity<T>
public abstract class RestEntity<T> :
MarshalByRefObject,
IEntity<T>
where T : IEquatable<T>
{
internal BaseDiscordClient Discord { get; }
+ 1
- 1
src/Discord.Net.WebSocket/Entities/SocketEntity.cs
View File
@@ -2,7 +2,7 @@ using System;
namespace Discord.WebSocket
{
public abstract class SocketEntity<T> : IEntity<T>
public abstract class SocketEntity<T> :
MarshalByRefObject,
IEntity<T>
where T : IEquatable<T>
{
internal DiscordSocketClient Discord { get; }
Write
Preview
Loading…
Cancel
Save