Example #1
0
 public static DataConfig getDataConfig()
 {
     lock (instanceLock)
     {
         if (_instance == null)
         {
             _instance = new DataConfig();
         }
     }
     return _instance;
 }
Example #2
0
        public Title(string _isin, int _qtty, int _nominale, string country, string currency, string name, double value)
        {
            this.isin = _isin;
            this.qtty = _qtty;
            this.nominale = _nominale;
            this.country = country;
            this.currency = currency;
            this.name = name;
            this.value = value;

            config = DataConfig.getDataConfig();
            if (config.ListOCDE.Contains(this.country))
                this.oecd = true;
            if (config.ListUE.Contains(this.country))
                this.eu = true;
        }