public static FxMarketDataLoader CreateMarketDataLoader(string dataSourceName) { if (dataSourceName == "MRO") { FxMarketDataLoader loader = new MRO_FxMarketDataLoader(dataSourceName); return(loader); } else { FxMarketDataLoader loader = new NotImple_FxMarketDataLoader(); return(loader); } }
public static FxMarketDataLoader CreateMarketDataLoader(string dataSourceName) { if (dataSourceName == "MRO") { FxMarketDataLoader loader = new MRO_FxMarketDataLoader(dataSourceName); return loader; } else { FxMarketDataLoader loader = new NotImple_FxMarketDataLoader(); return loader; } }