Beispiel #1
0
        public static CommodityMarketDataLoader CreateMarketDataLoader(string dataSourceName)
        {
            if (dataSourceName == "MRO")
            {
                CommodityMarketDataLoader loader = new MRO_CommodityMarketDataLoader(dataSourceName);

                return(loader);
            }
            else
            {
                CommodityMarketDataLoader loader = new NotImple_CommodityMarketDataLoader();

                return(loader);
            }
        }
        public static CommodityMarketDataLoader CreateMarketDataLoader(string dataSourceName)
        {
            if (dataSourceName == "MRO")
            {
                CommodityMarketDataLoader loader = new MRO_CommodityMarketDataLoader(dataSourceName);

                return loader;
            }
            else
            {
                CommodityMarketDataLoader loader = new NotImple_CommodityMarketDataLoader();

                return loader;
            }

        }