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;
 }
Exemplo n.º 2
0
        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);
        }