FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DSharpPlus/DSharpPlus.Voice/IVoiceConnectionRepository.cs at master · DSharpPlus/DSharpPlus · GitHub
DSharpPlus
/
DSharpPlus
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
321
Star
1.3k
Code
Issues
77
Pull requests
3
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
DSharpPlus
/
DSharpPlus.Voice
/
IVoiceConnectionRepository.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (27 loc) · 1.04 KB
Breadcrumbs
DSharpPlus
/
DSharpPlus.Voice
/
IVoiceConnectionRepository.cs
Copy path
File metadata and controls
31 lines (27 loc) · 1.04 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using
System
.
Collections
.
Generic
;
using
System
.
Threading
.
Tasks
;
namespace
DSharpPlus
.
Voice
;
/// <summary>
/// Represents a mechanism to manage and dispatch information to voice connections.
/// </summary>
public
interface
IVoiceConnectionRepository
{
/// <summary>
/// Provides voice connections indexed by guild ID.
/// </summary>
public
IReadOnlyDictionary
<
ulong
,
VoiceConnection
>
Connections
{
get
;
}
/// <summary>
/// Registers a new voice connection.
/// </summary>
/// <remarks>
/// Asynchronous implementations of this method must not throw exceptions.
/// </remarks>
/// <param name="guildId">The guild ID this connection takes place in.</param>
/// <param name="connection">The newly created connection.</param>
public
Task
RegisterConnectionAsync
(
ulong
guildId
,
VoiceConnection
connection
)
;
/// <summary>
/// Unregisters a connection.
/// </summary>
/// <param name="guildId">The guild ID this connection took place in.</param>
public
void
UnregisterConnection
(
ulong
guildId
)
;
}
Back
|
FazBrowse Home
|
New Git URL