Click or drag to resize

Genesys.Extras.Configuration Namespace

 
Classes
  ClassDescription
Public classAppSettingList
Generic list of application settings from .config file
Public classAppSettingSafe
Container class for connection strings
Public classAppSettingSafeXmlAttributes
Element names
Public classAppSettingSafeXmlElements
Element names
Public classConfigurationManagerFull
Simulates the System.Configuration.ConfigurationManager class for local XML files with nodes.
Public classConfigurationManagerSafe
Cross-platform emulator of System.Configuration.ConfigurationManager, for local .config files Target Projects: Universal Windows 10/8.1, Xamarin Forms, Windows Phone, Portable Class Library Usage: From the Application project, 1. Read .config XML from filesystem, 2. Pass xml into constructor as strings var localFolder = Windows.ApplicationModel.Package.Current.InstalledLocation; localFolder = await localFolder.GetFolderAsync("App_Data"); var appSettingsFile = await localFolder.GetFileAsync("AppSettings.config"); var appSettingsXml = await Windows.Storage.FileIO.ReadTextAsync(appSettingsFile); var connectStringsFile = await localFolder.GetFileAsync("ConnectionStrings.config"); var connectStringsXml = await Windows.Storage.FileIO.ReadTextAsync(connectStringsFile); var configManager = new ConfigurationManagerSafe(appSettingsXml, connectStringsXml);
Public classConnectionStringList
Generic list of connection strings
Public classConnectionStringSafe
Container class for connection strings
Public classConnectionStringSafeConnectionStringTypes
Types of apps that can consume a .config file
Public classConnectionStringSafeXmlAttributes
Element names
Public classConnectionStringSafeXmlElements
Element names
Interfaces
  InterfaceDescription
Public interfaceIConfigurationManager
Cross-platform emulator of System.Configuration.ConfigurationManager, for local .config files Target Projects: Universal Windows 10/8.1, Xamarin Forms, Windows Phone, Portable Class Library Usage: From the Application project, 1. Read .config XML from filesystem, 2. Pass xml into constructor as strings
Enumerations
  EnumerationDescription
Public enumerationConfigurationManagerFullApplicationTypes
Types of applications that can consume a .config file