From 7f4e09bcd2addf9b4c6a84be5f0890ace8445e7a Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Mon, 30 Oct 2017 12:43:00 -0400 Subject: [PATCH] Fix documentation errors --- TGServerService/EventID.cs | 9 ++++++--- TGServerService/ServerInstance/DreamDaemon.cs | 6 +++--- TGServerService/ServerInstance/Repository.cs | 2 +- TGServerService/Service.cs | 8 ++++---- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/TGServerService/EventID.cs b/TGServerService/EventID.cs index 1e748beb47..5d4775fa55 100644 --- a/TGServerService/EventID.cs +++ b/TGServerService/EventID.cs @@ -41,16 +41,19 @@ namespace TGServerService /// BYONDUpdateComplete = 800, /// - /// Error: Failed to move the with + /// Error: Failed to move the with TGServiceInterface.Components.ITGAdministration.MoveServer(string) /// + [Obsolete("Not in use anymore", true)] ServerMoveFailed = 900, /// - /// Warning: Failed to delete the old directory during a operation + /// Warning: Failed to delete the old directory during a TGServiceInterface.Components.ITGAdministration.MoveServer(string) operation /// + [Obsolete("Not in use anymore", true)] ServerMovePartial = 1000, /// - /// Info: Successful completion of a operation + /// Info: Successful completion of a TGServiceInterface.Components.ITGAdministration.MoveServer(string) operation /// + [Obsolete("Not in use anymore", true)] ServerMoveComplete = 1100, /// /// Error: An internal error occurred during a operation diff --git a/TGServerService/ServerInstance/DreamDaemon.cs b/TGServerService/ServerInstance/DreamDaemon.cs index 1c27e161d5..62fbafc95a 100644 --- a/TGServerService/ServerInstance/DreamDaemon.cs +++ b/TGServerService/ServerInstance/DreamDaemon.cs @@ -92,7 +92,7 @@ namespace TGServerService ShutdownRequestPhase AwaitingShutdown; /// - /// Setup or reattach the watchdog, depending on , and create the + /// Setup or reattach the watchdog, depending on of , and create the /// void InitDreamDaemon() { @@ -155,7 +155,7 @@ namespace TGServerService } /// - /// Either let go of for reattachment or terminate it, depending on + /// Either let go of for reattachment or terminate it, depending on of /// void DisposeDreamDaemon() { @@ -500,7 +500,7 @@ namespace TGServerService /// /// Translate the configured level into a byond command line param /// - /// If bases it's result on , uses otherwise + /// If bases it's result on , uses of otherwise /// "safe", "trusted", or "ultrasafe" depending on the it checks string SecurityWord(bool starting = false) { diff --git a/TGServerService/ServerInstance/Repository.cs b/TGServerService/ServerInstance/Repository.cs index e567ebd4a6..e3b75ee058 100644 --- a/TGServerService/ServerInstance/Repository.cs +++ b/TGServerService/ServerInstance/Repository.cs @@ -1272,7 +1272,7 @@ namespace TGServerService } /// - /// Runs on the configured and tries to and the + /// Runs on the configured of and tries to and the /// /// A /// The event arguments diff --git a/TGServerService/Service.cs b/TGServerService/Service.cs index c4ddfc4496..6ca622bae0 100644 --- a/TGServerService/Service.cs +++ b/TGServerService/Service.cs @@ -76,7 +76,7 @@ namespace TGServerService /// ServiceHost serviceHost; /// - /// Map of to the respective + /// Map of to the respective hosting the /// IDictionary hosts; /// @@ -203,9 +203,10 @@ namespace TGServerService } /// - /// Creates a for using the default pipe, , and the configured + /// Creates a for using the default pipe, CloseTimeout for the , and the configured /// /// The + /// The URL to access components on the /// The created static ServiceHost CreateHost(object singleton, string endpointPostfix) { @@ -302,7 +303,6 @@ namespace TGServerService /// /// The service host to add the component to /// The type of the component - /// The URI prefix for accessing the void AddEndpoint(ServiceHost host, Type typetype) { var bindingName = typetype.Name; @@ -320,7 +320,7 @@ namespace TGServerService } /// - /// Shutsdown the WCF and calls on it's + /// Shuts down all active s and calls on it's /// protected override void OnStop() {