C# Class Blog, lb

Afficher le fichier Open project: mono/lb Class Usage Examples

Méthodes publiques

Свойство Type Description
Verbose bool
config Config
pubDate DateTime

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddArticle ( string url, string caption ) : void
url string
caption string
Résultat void

AddCategory() public méthode

public AddCategory ( Hashtable, hash, DayEntry, day ) : void
hash Hashtable,
day DayEntry,
Résultat void

Blog() public méthode

public Blog ( Config, config, string template ) : System
config Config,
template string
Résultat System

FillEntrySubstitutions() public méthode

public FillEntrySubstitutions ( Hashtable substitutions, DayEntry d, string blog_base, bool single_entry ) : void
substitutions Hashtable
d DayEntry
blog_base string
single_entry bool
Résultat void

GenerateArchiveNavigation() public méthode

public GenerateArchiveNavigation ( ) : void
Résultat void

LoadDirectory() public méthode

public LoadDirectory ( DirectoryInfo dir ) : void
dir DirectoryInfo
Résultat void

Render() public méthode

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
Résultat void

Render() public méthode

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
Résultat void

RenderArchive() public méthode

public RenderArchive ( ) : void
Résultat void

RenderArchiveRss() public méthode

public RenderArchiveRss ( RssVersion version, string output, int end ) : void
version RssVersion
output string
end int
Résultat void

RenderArticleList() public méthode

public RenderArticleList ( TextWriter o ) : void
o TextWriter
Résultat void

RenderHtml() public méthode

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
Résultat void

RenderHtml() public méthode

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
Résultat void

RenderRSS() public méthode

public RenderRSS ( string output, IList entries, int start, int end ) : void
output string
entries IList
start int
end int
Résultat void

RenderRSS() public méthode

public RenderRSS ( string output, int start, int end ) : void
output string
start int
end int
Résultat void

Translate() public méthode

public Translate ( string input, TextWriter o, Hashtable substitutions ) : void
input string
o TextWriter
substitutions Hashtable
Résultat void

Property Details

Verbose public_oe property

public bool Verbose
Résultat bool

config public_oe property

public Config config
Résultat Config

pubDate public_oe property

public DateTime pubDate
Résultat DateTime