C# Класс mojoPortal.Web.BlogUI.BlogViewControl

Наследование: System.Web.UI.UserControl, IRefreshAfterPostback, IUpdateCommentStats
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
AllowComments bool
CategoriesResourceKey string
CommentDateTimeFormat string
CommentItemHeaderElement string
DeleteLinkImage string
EditContentImage string
GmapApiKey string
ImageSiteRoot string
IsEditable bool
ItemId int
MaxAllowedGravatarRating mojoPortal.Web.UI.Avatar.RatingType
ModuleId int
PageId int
RegexRelativeImageUrlPatern string
SiteRoot string
TimeOffset Double
UserNameTooltipFormat string
addThisCustomBrand string
allowGravatars bool
attachmentBaseUrl string
blog mojoPortal.Business.Blog
blogAuthor string
config mojoPortal.Web.BlogUI.BlogConfiguration
disableAvatars bool
parametersAreInvalid bool

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

Метод Описание
RefreshAfterPostback ( ) : void
UpdateCommentStats ( System.Guid contentGuid, int commentCount ) : void

Защищенные методы

Метод Описание
FormatBlogUrl ( string itemUrl, int itemId ) : string
FormatCommentDate ( System.DateTime startDate ) : string
OnInit ( EventArgs e ) : void
OnPreRender ( EventArgs e ) : void
PopulateControls ( ) : void
SetupRssLink ( ) : void
UseProfileLinkForAvatar ( ) : bool
dlComments_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Handles the item command

dlComments_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

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

Метод Описание
CanEditPost ( mojoPortal.Business.Blog blog ) : bool
CommentsAreOpen ( ) : bool
DetermineCommentSystem ( ) : string
DisableLegacyBlogComments ( ) : void
GetExcerpt ( mojoPortal.Business.Blog blog ) : string
GetRssUrl ( ) : string
IsValidComment ( ) : bool
LoadParams ( ) : void
LoadSettings ( ) : void
Page_Load ( object sender, EventArgs e ) : void
PopulateLabels ( ) : void
SetCookies ( ) : void
SetupCommentSystem ( ) : void
SetupInternalCommentSystem ( ) : void
SetupLegacyBlogComments ( ) : void
ShouldAllowComments ( ) : bool
btnPostComment_Click ( object sender, EventArgs e ) : void

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

FormatBlogUrl() защищенный Метод

protected FormatBlogUrl ( string itemUrl, int itemId ) : string
itemUrl string
itemId int
Результат string

FormatCommentDate() защищенный Метод

protected FormatCommentDate ( System.DateTime startDate ) : string
startDate System.DateTime
Результат string

OnInit() защищенный Метод

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Результат void

OnPreRender() защищенный Метод

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
Результат void

PopulateControls() защищенный Метод

protected PopulateControls ( ) : void
Результат void

RefreshAfterPostback() публичный Метод

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

SetupRssLink() защищенный Метод

protected SetupRssLink ( ) : void
Результат void

UpdateCommentStats() публичный Метод

public UpdateCommentStats ( System.Guid contentGuid, int commentCount ) : void
contentGuid System.Guid
commentCount int
Результат void

UseProfileLinkForAvatar() защищенный Метод

protected UseProfileLinkForAvatar ( ) : bool
Результат bool

dlComments_ItemCommand() защищенный Метод

Handles the item command
protected dlComments_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
source object
e System.Web.UI.WebControls.RepeaterCommandEventArgs
Результат void

dlComments_ItemDataBound() защищенный Метод

protected dlComments_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object
e System.Web.UI.WebControls.RepeaterItemEventArgs
Результат void

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

AllowComments защищенное свойство

protected bool AllowComments
Результат bool

CategoriesResourceKey защищенное свойство

protected string CategoriesResourceKey
Результат string

CommentDateTimeFormat защищенное свойство

protected string CommentDateTimeFormat
Результат string

CommentItemHeaderElement защищенное свойство

protected string CommentItemHeaderElement
Результат string

DeleteLinkImage защищенное свойство

protected string DeleteLinkImage
Результат string

EditContentImage защищенное свойство

protected string EditContentImage
Результат string

GmapApiKey защищенное свойство

protected string GmapApiKey
Результат string

ImageSiteRoot защищенное свойство

protected string ImageSiteRoot
Результат string

IsEditable защищенное свойство

protected bool IsEditable
Результат bool

ItemId защищенное свойство

protected int ItemId
Результат int

MaxAllowedGravatarRating защищенное свойство

protected mojoPortal.Web.UI.Avatar.RatingType MaxAllowedGravatarRating
Результат mojoPortal.Web.UI.Avatar.RatingType

ModuleId защищенное свойство

protected int ModuleId
Результат int

PageId защищенное свойство

protected int PageId
Результат int

RegexRelativeImageUrlPatern защищенное свойство

protected string RegexRelativeImageUrlPatern
Результат string

SiteRoot защищенное свойство

protected string SiteRoot
Результат string

TimeOffset защищенное свойство

protected Double TimeOffset
Результат Double

UserNameTooltipFormat защищенное свойство

protected string UserNameTooltipFormat
Результат string

addThisCustomBrand защищенное свойство

protected string addThisCustomBrand
Результат string

allowGravatars защищенное свойство

protected bool allowGravatars
Результат bool

attachmentBaseUrl защищенное свойство

protected string attachmentBaseUrl
Результат string

blog защищенное свойство

protected Blog,mojoPortal.Business blog
Результат mojoPortal.Business.Blog

blogAuthor защищенное свойство

protected string blogAuthor
Результат string

config защищенное свойство

protected BlogConfiguration,mojoPortal.Web.BlogUI config
Результат mojoPortal.Web.BlogUI.BlogConfiguration

disableAvatars защищенное свойство

protected bool disableAvatars
Результат bool

parametersAreInvalid защищенное свойство

protected bool parametersAreInvalid
Результат bool