Show / Hide Table of Contents

Class FileBasedConfigurationManager

Inheritance
object
FileBasedConfigurationManager
Implements
ICommandConfigurationManager
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Benday.CommandsFramework
Assembly: Benday.CommandsFramework.dll
Syntax
public class FileBasedConfigurationManager : ICommandConfigurationManager

Constructors

| Edit this page View Source

FileBasedConfigurationManager(string)

Declaration
public FileBasedConfigurationManager(string applicationName)
Parameters
Type Name Description
string applicationName

Properties

| Edit this page View Source

ApplicationName

Declaration
public string ApplicationName { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

ConfigFileExists()

Declaration
public bool ConfigFileExists()
Returns
Type Description
bool
| Edit this page View Source

GetConfigurationDirectoryPath(string)

Declaration
public static string GetConfigurationDirectoryPath(string applicationName)
Parameters
Type Name Description
string applicationName
Returns
Type Description
string
| Edit this page View Source

GetConfigurationFilePath(string)

Declaration
public static string GetConfigurationFilePath(string applicationName)
Parameters
Type Name Description
string applicationName
Returns
Type Description
string
| Edit this page View Source

GetValue(string)

Declaration
public string GetValue(string expectedKey)
Parameters
Type Name Description
string expectedKey
Returns
Type Description
string
| Edit this page View Source

GetValues()

Declaration
public IDictionary<string, string> GetValues()
Returns
Type Description
IDictionary<string, string>
| Edit this page View Source

HasValue(string)

Declaration
public bool HasValue(string expectedKey)
Parameters
Type Name Description
string expectedKey
Returns
Type Description
bool
| Edit this page View Source

RemoveValue(string)

Declaration
public void RemoveValue(string expectedKey)
Parameters
Type Name Description
string expectedKey
| Edit this page View Source

SetValue(string, string)

Declaration
public void SetValue(string key, string val)
Parameters
Type Name Description
string key
string val

Implements

ICommandConfigurationManager
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com