Пример #1
0
        public static IndexMarketDataLoader CreateMarketDataLoader(string dataSourceName)
        {
            if (dataSourceName == "MRO")
            {
                IndexMarketDataLoader loader = new MRO_IndexMarketDataLoader(dataSourceName);

                return(loader);
            }
            else
            {
                IndexMarketDataLoader loader = new NotImple_IndexMarketDataLoader();

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

                return loader;
            }
            else
            {
                IndexMarketDataLoader loader = new NotImple_IndexMarketDataLoader();

                return loader;
            }
            
        }