Showing the changes to Source/Libraries/GSF.ServiceProcess/ClientHelper.cs (1 of 47 files). Show all
Unified · Split
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | // Added AuthenticationMethod, AuthenticationUsername and AuthenticationPassword properties to |
| 28 | 28 | // provision for the authentication process as part of security. |
| 29 | 29 | // Added ISupportLifecycle, ISupportInitialize and IPersistSettings interface implementations |
| 30 | −// to support the persistance and retrieval of settings from the config file. | |
| 30 | +// to support the persistence and retrieval of settings from the config file. | |
| 31 | 31 | // 07/17/2009 - Pinal C. Patel |
| 32 | 32 | // Added static PretendRequest() method that can be used to create pretend request for manually |
| 33 | 33 | // invoking request handlers registered with the ServiceHelper. |
| @@ -277,7 +277,7 @@ namespace GSF.ServiceProcess · 243 unmodified lines | ||
| 277 | 277 | /// <summary> |
| 278 | 278 | /// Gets or sets a boolean value that indicates whether the settings of <see cref="ClientHelper"/> are to be saved to the config file. |
| 279 | 279 | /// </summary> |
| 280 | − [Category("Persistance"), | |
| 280 | + [Category("Persistence"), | |
| 281 | 281 | DefaultValue(DefaultPersistSettings), |
| 282 | 282 | Description("Indicates whether the settings of ClientHelper are to be saved to the config file.")] |
| 283 | 283 | public bool PersistSettings |
| @@ -296,7 +296,7 @@ namespace GSF.ServiceProcess · 12 unmodified lines | ||
| 296 | 296 | /// Gets or sets the category under which the settings of <see cref="ClientHelper"/> are to be saved to the config file if the <see cref="PersistSettings"/> property is set to true. |
| 297 | 297 | /// </summary> |
| 298 | 298 | /// <exception cref="ArgumentNullException">The value being assigned is a null or empty string.</exception> |
| 299 | − [Category("Persistance"), | |
| 299 | + [Category("Persistence"), | |
| 300 | 300 | DefaultValue(DefaultSettingsCategory), |
| 301 | 301 | Description("Category under which the settings of ClientHelper are to be saved to the config file if the PersistSettings property is set to true.")] |
| 302 | 302 | public string SettingsCategory |
| @@ -664,9 +664,10 @@ namespace GSF.ServiceProcess · 361 unmodified lines | ||
| 664 | 664 | status.AppendLine(); |
| 665 | 665 | UpdateStatus(UpdateType.Warning, status.ToString()); |
| 666 | 666 | |
| 667 | − // Attempt reconnection on a seperate thread. | |
| 667 | + // Attempt reconnection on a separate thread. | |
| 668 | 668 | if (m_attemptReconnection) |
| 669 | − new Thread((ThreadStart)delegate { | |
| 669 | + new Thread((ThreadStart)delegate | |
| 670 | + { | |
| 670 | 671 | Connect(); |
| 671 | 672 | }).Start(); |
| 672 | 673 | } |