Пример #1
0
        public static IRCurveMarketDataLoader CreateMarketDataLoader(string dataSourceName)
        {
            if (dataSourceName == "" || dataSourceName.ToUpper() == "MRO")
            {
                IRCurveMarketDataLoader loader = new MRO_IRCurveMarketDataLoader(dataSourceName);

                return(loader);
            }
            else
            {
                IRCurveMarketDataLoader loader = new NotImple_IRCurveMarketDataLoader();

                return(loader);
            }
        }
        public static IRCurveMarketDataLoader CreateMarketDataLoader(string dataSourceName)
        {
            if (dataSourceName == "" || dataSourceName.ToUpper() == "MRO")
            {
                IRCurveMarketDataLoader loader = new MRO_IRCurveMarketDataLoader(dataSourceName);

                return loader;
            }
            else
            {
                IRCurveMarketDataLoader loader = new NotImple_IRCurveMarketDataLoader();

                return loader;
            }
            
        }