this.pictureService = null;
this.pictureService = new Dictionary<string, IMediaUploadService> {
- {"Twitter", new TwitterPhoto(tw, twitterConfig)},
- {"img.ly", new imgly(tw, twitterConfig)},
- {"yfrog", new yfrog(tw, twitterConfig)},
- {"ついっぷるフォト", new TwipplePhoto(tw, twitterConfig)},
- {"Imgur", new Imgur(tw, twitterConfig)},
- {"Mobypicture", new Mobypicture(tw, twitterConfig)},
+ ["Twitter"] = new TwitterPhoto(tw, twitterConfig),
+ ["img.ly"] = new imgly(tw, twitterConfig),
+ ["yfrog"] = new yfrog(tw, twitterConfig),
+ ["ついっぷるフォト"] = new TwipplePhoto(tw, twitterConfig),
+ ["Imgur"] = new Imgur(tw, twitterConfig),
+ ["Mobypicture"] = new Mobypicture(tw, twitterConfig),
};
}