public static Source GetSource(string novelTitle, int sourceID, Sources s) { Source rtnSource; switch (s) { case Sources.web69: rtnSource = new SourceWeb69(novelTitle, sourceID); break; default: rtnSource = null; break; } return rtnSource; }
public static Source GetSource(string novelTitle, int sourceID, Sources s) { Source rtnSource; switch (s) { case Sources.web69: rtnSource = new SourceWeb69(novelTitle, sourceID); break; default: rtnSource = null; break; } return(rtnSource); }