public AtomSyndicationFormatter(string format, ISettingsService settingsService, ISyndication syndication) : base(format, settingsService, syndication) { SupportedMediaTypes.Add(new MediaTypeHeaderValue(Atom)); this.AddQueryStringMapping("formatter", "atom", new MediaTypeHeaderValue(format)); }
public void Setup() { _syndication = MockRepository.GenerateStub<ISyndication>(); _settingsService = MockRepository.GenerateStub<ISettingsService>(); _settingsService.Stub(x => x.GetSettings()).Return(new SettingsViewModel { BlogPageUrl = "http://localhost/mypage", Name = "My blog" }); }
public AtomFeedHandler(ISyndication syndication) { this._syndication = syndication; }
public SitemapHandler(ISyndication syndication) { this._syndication = syndication; }
public ModuleSitemapHandler(ISyndication syn) { this._syndication = syn; }