Click or drag to resize

Configuration Class

Configuration settings for the ElectronicProcessing system. This class provides type-safe access to configuration settings and supports dependency injection for testing.
Inheritance Hierarchy
SystemObject
  IASConfiguration

Namespace:  IAS
Assembly:  ElectronicProcessing (in ElectronicProcessing.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Configuration

The Configuration type exposes the following members.

Constructors
  NameDescription
Public methodConfiguration
Default constructor. Initializes all settings to default values (True). For testing, create an instance and set properties directly using object initializer syntax:
Dim config As New Configuration() With {
    .PullFromOfficeSystem = False,
    .PreventFutureDatesForContracts = True
}
Top
Properties
  NameDescription
Public propertyFormFileLocation
Gets or sets the file system path where electronic form PDFs are stored.
Public propertyPreventFutureDatesForContracts
Gets or sets whether to prevent future dates for contracts.
Public propertyPullFromOfficeSystem
Gets or sets whether to pull rates from the Office System.
Public propertyPullFromServiceGroupSystem
Gets or sets whether to pull rates from the Service Group System.
Top
Fields
  NameDescription
Public fieldStatic memberInstance
Thread-safe singleton instance for production use. Initialized from web.config on first access.
Top
See Also

Reference