C# Class Blog, lb

ファイルを表示 Open project: mono/lb Class Usage Examples

Public Properties

Property Type Description
Verbose bool
config Config
pubDate DateTime

Public Methods

Method Description
AddArticle ( string url, string caption ) : void
AddCategory ( Hashtable, hash, DayEntry, day ) : void
Blog ( Config, config, string template ) : System
FillEntrySubstitutions ( Hashtable substitutions, DayEntry d, string blog_base, bool single_entry ) : void
GenerateArchiveNavigation ( ) : void
LoadDirectory ( DirectoryInfo dir ) : void
Render ( TextWriter o, IList entries, int start, int end, string blog_base, bool include_daily_anchor ) : void
Render ( TextWriter o, IList entries, int idx, string blog_base, bool include_daily_anchor, bool single_entry ) : void
RenderArchive ( ) : void
RenderArchiveRss ( RssVersion version, string output, int end ) : void
RenderArticleList ( TextWriter o ) : void
RenderHtml ( string output, int start, int end, string blog_base, bool include_page_navigation ) : void
RenderHtml ( string output, string blog_base, IList entries, int start, int end, bool include_page_navigation ) : void
RenderRSS ( string output, IList entries, int start, int end ) : void
RenderRSS ( string output, int start, int end ) : void
Translate ( string input, TextWriter o, Hashtable substitutions ) : void

Private Methods

Method Description
CreateEntryIndex ( IList entries, int start, int end ) : string
CreateFile ( string file ) : FileStream
GetCategoryPaths ( DayEntry d, string blog_base ) : string
GetEntryNavigation ( IList entries, int idx, string blog_base ) : string
GetOutputEncoding ( ) : Encoding
GetPageNavigation ( int start, int end ) : string
MakeChannel ( ) : RssChannel

Method Details

AddArticle() public method

public AddArticle ( string url, string caption ) : void
url string
caption string
return void

AddCategory() public method

public AddCategory ( Hashtable, hash, DayEntry, day ) : void
hash Hashtable,
day DayEntry,
return void

Blog() public method

public Blog ( Config, config, string template ) : System
config Config,
template string
return System

FillEntrySubstitutions() public method

public FillEntrySubstitutions ( Hashtable substitutions, DayEntry d, string blog_base, bool single_entry ) : void
substitutions Hashtable
d DayEntry
blog_base string
single_entry bool
return void

GenerateArchiveNavigation() public method

public GenerateArchiveNavigation ( ) : void
return void

LoadDirectory() public method

public LoadDirectory ( DirectoryInfo dir ) : void
dir DirectoryInfo
return void

Render() public method

public Render ( TextWriter o, IList entries, int start, int end, string blog_base, bool include_daily_anchor ) : void
o TextWriter
entries IList
start int
end int
blog_base string
include_daily_anchor bool
return void

Render() public method

public Render ( TextWriter o, IList entries, int idx, string blog_base, bool include_daily_anchor, bool single_entry ) : void
o TextWriter
entries IList
idx int
blog_base string
include_daily_anchor bool
single_entry bool
return void

RenderArchive() public method

public RenderArchive ( ) : void
return void

RenderArchiveRss() public method

public RenderArchiveRss ( RssVersion version, string output, int end ) : void
version RssVersion
output string
end int
return void

RenderArticleList() public method

public RenderArticleList ( TextWriter o ) : void
o TextWriter
return void

RenderHtml() public method

public RenderHtml ( string output, int start, int end, string blog_base, bool include_page_navigation ) : void
output string
start int
end int
blog_base string
include_page_navigation bool
return void

RenderHtml() public method

public RenderHtml ( string output, string blog_base, IList entries, int start, int end, bool include_page_navigation ) : void
output string
blog_base string
entries IList
start int
end int
include_page_navigation bool
return void

RenderRSS() public method

public RenderRSS ( string output, IList entries, int start, int end ) : void
output string
entries IList
start int
end int
return void

RenderRSS() public method

public RenderRSS ( string output, int start, int end ) : void
output string
start int
end int
return void

Translate() public method

public Translate ( string input, TextWriter o, Hashtable substitutions ) : void
input string
o TextWriter
substitutions Hashtable
return void

Property Details

Verbose public_oe property

public bool Verbose
return bool

config public_oe property

public Config config
return Config

pubDate public_oe property

public DateTime pubDate
return DateTime