Esempio n. 1
0
 public BlogProviderButton(string blogId, string hostBlogId, string homepageUrl, string postApiUrl, string buttonId)
 {
     _blogId            = blogId;
     _hostBlogId        = hostBlogId;
     _homepageUrl       = UrlHelper.InsureTrailingSlash(homepageUrl);
     _postApiUrl        = postApiUrl;
     _buttonId          = buttonId;
     _settingsKey       = BlogSettings.GetProviderButtonsSettingsKey(blogId).GetSubSettings(buttonId);
     _buttonDescription = new BlogProviderButtonDescriptionFromSettings(_settingsKey);
 }