public static IRMarketDataLoader CreateMarketDataLoader(string dataSourceName) { if (dataSourceName == "MRO") { IRMarketDataLoader loader = new MRO_IRMarketDataLoader(dataSourceName); return(loader); } else { IRMarketDataLoader loader = new NotImple_IRMarketDataLoader(); return(loader); } }
public static IRMarketDataLoader CreateMarketDataLoader(string dataSourceName) { if (dataSourceName == "MRO") { IRMarketDataLoader loader = new MRO_IRMarketDataLoader(dataSourceName); return loader; } else { IRMarketDataLoader loader = new NotImple_IRMarketDataLoader(); return loader; } }