C# Class Common.RSS.FeedResult

Inheritance: System.Web.Mvc.ActionResult
Mostra file Open project: rabbal/Mvc5

Public Methods

Method Description
ExecuteResult ( ControllerContext context ) : void
FeedResult ( string feedTitle, IEnumerable rssItems, string language = "fa-IR" ) : System

Private Methods

Method Description
AddChannelLinks ( System.Web.HttpContextBase httpContext, System.ServiceModel.Syndication.SyndicationFeed feed ) : void
MapToSyndicationItem ( IEnumerable rssItems ) : List
SyndicationFeedToString ( System.ServiceModel.Syndication.SyndicationFeed feed ) : string
WriteToResponse ( System.Web.HttpContextBase httpContext ) : void

Method Details

ExecuteResult() public method

public ExecuteResult ( ControllerContext context ) : void
context ControllerContext
return void

FeedResult() public method

public FeedResult ( string feedTitle, IEnumerable rssItems, string language = "fa-IR" ) : System
feedTitle string
rssItems IEnumerable
language string
return System