public static IFeeder GetFeeder(FeederSourceSystem source) { switch (source) { case FeederSourceSystem.GOOGLE: { return(new GoogleFinanceFeeder()); } case FeederSourceSystem.FAKEMARKET: { return(new FakeMarketFeeder()); } case FeederSourceSystem.YAHOO: { return(new YahooFinanceFeeder()); } default: { return(new GoogleFinanceFeeder()); } } }
public static IFeeder GetFeeder(FeederSourceSystem source) { switch (source) { case FeederSourceSystem.GOOGLE: { return new GoogleFinanceFeeder(); } case FeederSourceSystem.FAKEMARKET: { return new FakeMarketFeeder(); } case FeederSourceSystem.YAHOO: { return new YahooFinanceFeeder(); } default: { return new GoogleFinanceFeeder(); } } }