Show / Hide Table of Contents

Class ConfigurationService

Inheritance
object
ConfigurationService
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: EasySave_Project.Service
Assembly: .dll
Syntax
public sealed class ConfigurationService

Methods

| Edit this page View Source

GetInstance()

Retrieves the singleton instance of ConfigurationService, ensuring thread safety.

Declaration
public static ConfigurationService GetInstance()
Returns
Type Description
ConfigurationService

The single instance of ConfigurationService.

| Edit this page View Source

GetStringSetting(string)

Retrieves a string configuration value from the application settings using the specified key.

Declaration
public string? GetStringSetting(string key)
Parameters
Type Name Description
string key

The key of the setting to retrieve.

Returns
Type Description
string

The string value of the specified setting, or null if not found.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX