diff --git a/TGServerService/ChatProviders/DiscordChatProvider.cs b/TGServerService/ChatProviders/DiscordChatProvider.cs
index 80fd6dcc16..b8ba22957f 100644
--- a/TGServerService/ChatProviders/DiscordChatProvider.cs
+++ b/TGServerService/ChatProviders/DiscordChatProvider.cs
@@ -280,7 +280,7 @@ namespace TGServerService.ChatProviders
private bool disposedValue = false;
///
- /// Implements the pattern
+ /// Implements the pattern. Calls
///
/// if was called manually, if it was from the finalizer
protected virtual void Dispose(bool disposing)
diff --git a/TGServerService/ChatProviders/IRCChatProvider.cs b/TGServerService/ChatProviders/IRCChatProvider.cs
index 0609cf97ef..060d48e2fc 100644
--- a/TGServerService/ChatProviders/IRCChatProvider.cs
+++ b/TGServerService/ChatProviders/IRCChatProvider.cs
@@ -327,7 +327,7 @@ namespace TGServerService.ChatProviders
private bool disposedValue = false;
///
- /// Implements the pattern
+ /// Implements the pattern. Calls and sets to
///
/// if was called manually, if it was from the finalizer
protected virtual void Dispose(bool disposing)
diff --git a/TGServerService/ServerInstance/ServerInstance.cs b/TGServerService/ServerInstance/ServerInstance.cs
index bd3e7d34f3..a791326af5 100644
--- a/TGServerService/ServerInstance/ServerInstance.cs
+++ b/TGServerService/ServerInstance/ServerInstance.cs
@@ -8,12 +8,16 @@ namespace TGServerService
//There really was no other succinct way to do it
//this line basically says make one instance of the service, use it multithreaded for requests, and never delete it
+
+ ///
+ /// The class which holds all interface components
+ ///
[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple, InstanceContextMode = InstanceContextMode.Single)]
partial class ServerInstance : IDisposable, ITGSService, ITGConnectivity
{
-
- //call partial constructors/destructors from here
- //called when the service is started
+ ///
+ /// Constructs and a
+ ///
public ServerInstance()
{
FindTheDroidsWereLookingFor();
@@ -24,7 +28,9 @@ namespace TGServerService
InitDreamDaemon();
}
- //called when the service is stopped
+ ///
+ /// Cleans up the
+ ///
void RunDisposals()
{
DisposeDreamDaemon();
@@ -53,8 +59,15 @@ namespace TGServerService
//mostly generated code with a call to RunDisposals()
//you don't need to open this
#region IDisposable Support
- private bool disposedValue = false; // To detect redundant calls
+ ///
+ /// To detect redundant calls
+ ///
+ private bool disposedValue = false;
+ ///
+ /// Implements the pattern. Calls
+ ///
+ /// if was called manually, if it was from the finalizer
protected virtual void Dispose(bool disposing)
{
if (!disposedValue)
@@ -79,6 +92,9 @@ namespace TGServerService
// }
// This code added to correctly implement the disposable pattern.
+ ///
+ /// Implements the pattern
+ ///
public void Dispose()
{
// Do not change this code. Put cleanup code in Dispose(bool disposing) above.