C# 클래스 WizardWrx.Core.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.
상속: GenericSingletonBase
파일 보기 프로젝트 열기: txwizard/WizardWrx_NET_API 1 사용 예제들

공개 메소드들

메소드 설명
Add ( string configFileName, string propName, string propValue ) : void

Add a new unconfigured setting.

GetMissingPropsForFile ( string pstrConfigFileName ) : List

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

GetTheSingleInstance ( ) : UnconfiguredDLLSettings

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

Initializing the dictionary is handled by the private instance constructor.

비공개 메소드들

메소드 설명
UnconfiguredDLLSettings ( ) : System

Singletons keep ALL their constructors private.

메소드 상세

Add() 공개 메소드

Add a new unconfigured setting.
public Add ( string configFileName, string propName, string propValue ) : void
configFileName string /// Identify the affected configuration file. ///
propName string /// Identify the name of the missing property. ///
propValue string /// Recird its default value. ///
리턴 void

GetMissingPropsForFile() 공개 메소드

Return the list of parameters that are missing from the specified configuration file.
public GetMissingPropsForFile ( string pstrConfigFileName ) : List
pstrConfigFileName string /// Specify the name of the file for which the list is wanted. ///
리턴 List

GetTheSingleInstance() 공개 정적인 메소드

Return a reference to the single instance after initializing it if needed.
Initializing the dictionary is handled by the private instance constructor.
public static GetTheSingleInstance ( ) : UnconfiguredDLLSettings
리턴 UnconfiguredDLLSettings