C# Класс Composite.Community.Blog.BlogFacade

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
PathSpecial string

Открытые методы

Метод Описание
ClearRssFeedCache ( object sender, DataEventArgs dataEventArgs ) : void
CustomDateFormat ( System.DateTime date, string dateFormat ) : string
CustomDateFormatCulture ( System.DateTime date, string dateFormat, string cultureName ) : string
Decode ( string text ) : string
Encode ( string text ) : string
GetArchive ( DataReference blogPage, bool isGlobal ) : IEnumerable
GetAuthors ( ) : IEnumerable
GetBlogFilterFromUrl ( bool isGlobal ) : bool>>.Expression
GetBlogPath ( System.DateTime date, string title ) : string
GetBlogPath ( Entries entry ) : string
GetBlogTags ( string tags ) : List
GetBlogUrl ( System.DateTime date, string title, System.Guid pageId, string pageUrl = "" ) : string
GetCurrentCultureName ( ) : string
GetCurrentPageUrl ( ) : string
GetCurrentPath ( ) : string
GetEntries ( bool isGlobal ) : IEnumerable
GetFullBlogUrl ( System.DateTime date, string title ) : string
GetFullPath ( string path ) : string
GetPageUrlById ( System.Guid pageId ) : string
GetPathInfoParts ( ) : string[]
GetTagCloud ( double minFontSize, double maxFontSize, DataReference blogPage, bool isGlobal ) : IEnumerable
GetTagsByType ( string entryTags ) : List
GetUrlFromTitle ( string title ) : string
IsBlogList ( ) : bool
SendMail ( string to, string from, string subject, string body ) : void
SetNoCache ( ) : void
SetTitleUrl ( object sender, DataEventArgs dataEventArgs ) : void
Validate ( string regularExpression, object value, bool isRequired ) : bool

Приватные методы

Метод Описание
GetBlogFilter ( System.Guid pageId, string pathInfoParts ) : bool>>.Expression
GetBlogInternalPageUrl ( System.DateTime date, string title, System.Guid pageId ) : string
GetEntryFilterByTag ( System.Guid pageId, string tag ) : bool>>.Expression

Описание методов

ClearRssFeedCache() публичный статический Метод

public static ClearRssFeedCache ( object sender, DataEventArgs dataEventArgs ) : void
sender object
dataEventArgs DataEventArgs
Результат void

CustomDateFormat() публичный статический Метод

public static CustomDateFormat ( System.DateTime date, string dateFormat ) : string
date System.DateTime
dateFormat string
Результат string

CustomDateFormatCulture() публичный статический Метод

public static CustomDateFormatCulture ( System.DateTime date, string dateFormat, string cultureName ) : string
date System.DateTime
dateFormat string
cultureName string
Результат string

Decode() публичный статический Метод

public static Decode ( string text ) : string
text string
Результат string

Encode() публичный статический Метод

public static Encode ( string text ) : string
text string
Результат string

GetArchive() публичный статический Метод

public static GetArchive ( DataReference blogPage, bool isGlobal ) : IEnumerable
blogPage DataReference
isGlobal bool
Результат IEnumerable

GetAuthors() публичный статический Метод

public static GetAuthors ( ) : IEnumerable
Результат IEnumerable

GetBlogFilterFromUrl() публичный статический Метод

public static GetBlogFilterFromUrl ( bool isGlobal ) : bool>>.Expression
isGlobal bool
Результат bool>>.Expression

GetBlogPath() публичный статический Метод

public static GetBlogPath ( System.DateTime date, string title ) : string
date System.DateTime
title string
Результат string

GetBlogPath() публичный статический Метод

public static GetBlogPath ( Entries entry ) : string
entry Entries
Результат string

GetBlogTags() публичный статический Метод

public static GetBlogTags ( string tags ) : List
tags string
Результат List

GetBlogUrl() публичный статический Метод

public static GetBlogUrl ( System.DateTime date, string title, System.Guid pageId, string pageUrl = "" ) : string
date System.DateTime
title string
pageId System.Guid
pageUrl string
Результат string

GetCurrentCultureName() публичный статический Метод

public static GetCurrentCultureName ( ) : string
Результат string

GetCurrentPageUrl() публичный статический Метод

public static GetCurrentPageUrl ( ) : string
Результат string

GetCurrentPath() публичный статический Метод

public static GetCurrentPath ( ) : string
Результат string

GetEntries() публичный статический Метод

public static GetEntries ( bool isGlobal ) : IEnumerable
isGlobal bool
Результат IEnumerable

GetFullBlogUrl() публичный статический Метод

public static GetFullBlogUrl ( System.DateTime date, string title ) : string
date System.DateTime
title string
Результат string

GetFullPath() публичный статический Метод

public static GetFullPath ( string path ) : string
path string
Результат string

GetPageUrlById() публичный статический Метод

public static GetPageUrlById ( System.Guid pageId ) : string
pageId System.Guid
Результат string

GetPathInfoParts() публичный статический Метод

public static GetPathInfoParts ( ) : string[]
Результат string[]

GetTagCloud() публичный статический Метод

public static GetTagCloud ( double minFontSize, double maxFontSize, DataReference blogPage, bool isGlobal ) : IEnumerable
minFontSize double
maxFontSize double
blogPage DataReference
isGlobal bool
Результат IEnumerable

GetTagsByType() публичный статический Метод

public static GetTagsByType ( string entryTags ) : List
entryTags string
Результат List

GetUrlFromTitle() публичный статический Метод

public static GetUrlFromTitle ( string title ) : string
title string
Результат string

IsBlogList() публичный статический Метод

public static IsBlogList ( ) : bool
Результат bool

SendMail() публичный статический Метод

public static SendMail ( string to, string from, string subject, string body ) : void
to string
from string
subject string
body string
Результат void

SetNoCache() публичный статический Метод

public static SetNoCache ( ) : void
Результат void

SetTitleUrl() публичный статический Метод

public static SetTitleUrl ( object sender, DataEventArgs dataEventArgs ) : void
sender object
dataEventArgs DataEventArgs
Результат void

Validate() публичный статический Метод

public static Validate ( string regularExpression, object value, bool isRequired ) : bool
regularExpression string
value object
isRequired bool
Результат bool

Описание свойств

PathSpecial публичное статическое свойство

public static string PathSpecial
Результат string