Beispiel #1
0
 public static void SetService(Service service)
 {
     switch(service) {
     case Service.Twitter:
         Urls = new TwitterUrls();
         break;
     case Service.Identica:
         Urls = new IdenticaUrls();
         break;
     }
 }
Beispiel #2
0
        public static void SetService(Service service)
        {
            switch (service)
            {
            case Service.Twitter:
                Urls = new TwitterUrls();
                break;

            case Service.Identica:
                Urls = new IdenticaUrls();
                break;
            }
        }