Show / Hide Table of Contents

Class UnconfiguredDLLSettings.UnconfiguredSetting

Settings are organized into a private collection that belongs to the singleton.

Inheritance
System.Object
UnconfiguredDLLSettings.UnconfiguredSetting
Namespace: WizardWrx.Core
Assembly: WizardWrx.Core.dll
Syntax
public class UnconfiguredSetting : IComparable<UnconfiguredDLLSettings.UnconfiguredSetting>

Constructors

| Improve this Doc View Source

UnconfiguredSetting(String, String, String)

All interaction is expected to be with this constructor.

Declaration
public UnconfiguredSetting(string configFileName, string propertyName, string propertyValue)
Parameters
Type Name Description
System.String configFileName

Settings are associated with a named configuration file. Only its base name matters, however.

System.String propertyName

Each property name must be unique within the scope of its configuration file.

System.String propertyValue

The default property value is recorded herein for reference.

Properties

| Improve this Doc View Source

ConfigFileName

Gets or sets the configuration file name

Declaration
public string ConfigFileName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PropName

Gets or sets the property name

Declaration
public string PropName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PropValue

Gets or sets the default value assigned to the property

Declaration
public string PropValue { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Equals(Object)

Override the Equals method on the base class to give a value that contains the absolute (fully qualified) configuration value name, composed of the configuration file name and the key name.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

Comparand

Returns
Type Description
System.Boolean

True if this instance and the other refer to the same configuration file key.

| Improve this Doc View Source

GetHashCode()

Return a hash code based on the equality value.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

The return value is the hash code that corresponds to the equality value.

| Improve this Doc View Source

ToString()

Return a concatenated string composed of the name of the configuration file followed by the configuration value name.

Declaration
public override string ToString()
Returns
Type Description
System.String

The return value is the configuration file name and key name, separated by an underscore character.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX