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

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