public ContactProvider() { IdCampagna = ""; NomeCampagna = ""; Logger.Instance().WriteTrace(String.Format("Provider Class Initialize")); INIReader.Instance().IniPath = AppDomain.CurrentDomain.BaseDirectory + IniPath; }
public static INIReader Instance() { if (_instance == null) { lock (_locker) { _instance = new INIReader(); } } return(_instance); }