예제 #1
0
 private string GetUrl(GrabParameters pp)
 {
     switch (pp.Channel)
     {
         case Channel.Channel2: return Channel2Url;
         case Channel.Channel10: return Channel10Url;
         default: throw new ApplicationException("unknown rashut2 channel");
     }
 }
예제 #2
0
        private string GetUrl(GrabParameters pp)
        {
            switch (pp.Channel)
            {
            case Channel.Channel2: return(Channel2Url);

            case Channel.Channel10: return(Channel10Url);

            default: throw new ApplicationException("unknown rashut2 channel");
            }
        }