Show / Hide Table of Contents

Class UnconfiguredDLLSettings

Organize the DLL configuration values that were omitted from the associated configuration file. Since multiple classes can and do share a DLL configuration file, this class must be a Singleton.

Inheritance
System.Object
GenericSingletonBase<UnconfiguredDLLSettings>
UnconfiguredDLLSettings
Inherited Members
GenericSingletonBase<UnconfiguredDLLSettings>.s_genTheOnlyInstance
GenericSingletonBase<UnconfiguredDLLSettings>.TheOnlyInstance
Namespace: WizardWrx.Core
Assembly: WizardWrx.Core.dll
Syntax
public class UnconfiguredDLLSettings : GenericSingletonBase<UnconfiguredDLLSettings>

Properties

| Improve this Doc View Source

Count

Expose the Count property of the dictionary.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Add(String, String, String)

Add a new unconfigured setting.

Declaration
public void Add(string configFileName, string propName, string propValue)
Parameters
Type Name Description
System.String configFileName

Identify the affected configuration file.

System.String propName

Identify the name of the missing property.

System.String propValue

Recird its default value.

| Improve this Doc View Source

GetMissingPropsForFile(String)

Return the list of parameters that are missing from the specified configuration file.

Declaration
public List<UnconfiguredDLLSettings.UnconfiguredSetting> GetMissingPropsForFile(string pstrConfigFileName)
Parameters
Type Name Description
System.String pstrConfigFileName

Specify the name of the file for which the list is wanted.

Returns
Type Description
List<UnconfiguredDLLSettings.UnconfiguredSetting>

The return value is a list of UnconfiguredSetting objects, which may be empty.

| Improve this Doc View Source

GetTheSingleInstance()

Return a reference to the single instance after initializing it if needed.

Declaration
public static UnconfiguredDLLSettings GetTheSingleInstance()
Returns
Type Description
UnconfiguredDLLSettings

This method overrides the like-named method on the base class, so that it can initialize its Dictionary object.

Remarks

Initializing the dictionary is handled by the private instance constructor.

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