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
Browse Source
Make Reference a struct
pull/7/merge
RogueException
9 years ago
parent
7604804d25
commit
79612cff89
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/Discord.Net/Helpers/Reference.cs
+ 2
- 1
src/Discord.Net/Helpers/Reference.cs
View File
@@ -2,7 +2,7 @@
namespace Discord
{
internal
class
Reference<T>
internal
struct
Reference<T>
where T : CachedObject
{
private Action<T> _onCache, _onUncache;
@@ -63,6 +63,7 @@ namespace Discord
_getItem = getItem;
_onCache = onCache;
_onUncache = onUncache;
_value = null;
}
}
}
Write
Preview
Loading…
Cancel
Save