Confing  1.0
Configuration properties manipulation in INI Files and the Windows Registry
Static Public Member Functions | List of all members
Multipetros.Config.ConfigBase Class Reference
Inheritance diagram for Multipetros.Config.ConfigBase:
Multipetros.Config.Ini Multipetros.Config.RegistryIni Multipetros.Config.SimpleIni

Static Public Member Functions

static string EncodeB64 (string val)
 
static string DecodeB64 (string val)
 
static string AddQuotes (string val)
 
static string RemoveQuotes (string val)
 

Detailed Description

Member Function Documentation

static string Multipetros.Config.ConfigBase.AddQuotes ( string  val)
static

Add double quotes to the text. You can use this if you want to store properites values with spaces at the begin and/or the end

Parameters
valText to add double quotes
Returns
static string Multipetros.Config.ConfigBase.DecodeB64 ( string  val)
static

Decode text from Base64 to Unicode

Parameters
valText to decode
Returns
Decoded text
static string Multipetros.Config.ConfigBase.EncodeB64 ( string  val)
static

Encode unicode text to Base64

Parameters
valText to encode
Returns
Encoded text
static string Multipetros.Config.ConfigBase.RemoveQuotes ( string  val)
static

Remove double quotes from the text. This is for strip double quotes from properties values stored in this way.

Parameters
valText to trim double quotes
Returns