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");
     }
 }
Exemple #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");
            }
        }