BlogPostRenderEventArgs is defined in the Telligent.Evolution.Extensibility.Api.Version1 namespace of Telligent.Evolution.Blogs.dll
Definition
class BlogPostRenderEventArgs
{
Application Application { get; }
User Author { get; }
string AvatarUrl { get; }
int? BlogId { get; }
int? CommentCount { get; }
Guid ContentId { get; }
DateTime CreatedDate { get; }
User CreatedUser { get; }
string Excerpt { get; }
int? ExcerptSize { get; }
ApiList<ExtendedAttribute> ExtendedAttributes { get; }
string FeaturedImage { get; }
MediaFile File { get; }
bool? GeneratePostSummary { get; }
int? GroupId { get; }
int? Id { get; }
bool? IsApproved { get; }
bool? IsExternal { get; }
bool? IsFeatured { get; }
bool? IsLocked { get; }
bool? IsPostEnabled { get; }
string PostType { get; }
DateTime? PublishedDate { get; }
string RenderedHtml { get; set; }
string RenderedProperty { get; set; }
string RenderTarget { get; set; }
string SearchUniqueId { get; }
string Slug { get; }
IList<string> Tags { get; }
string TitleUrl { get; }
string Url { get; }
bool? UsePostSummary { get; }
int? Views { get; }
bool GetExtendedAttributeBool(string name, bool defaultValue);
DateTime GetExtendedAttributeDateTime(string name, DateTime defaultValue);
Guid GetExtendedAttributeGuid(string name, Guid defaultValue);
int GetExtendedAttributeInt(string name, int defaultValue);
string GetExtendedAttributeString(string name, string defaultValue);
}
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Application | Application | |||
| Author | User | |||
| AvatarUrl | string | |||
| BlogId | int? | |||
| CommentCount | int? | |||
| ContentId | Guid | |||
| CreatedDate | DateTime | |||
| CreatedUser | User | |||
| Excerpt | string | |||
| ExcerptSize | int? | |||
| ExtendedAttributes | ApiList<ExtendedAttribute> | |||
| FeaturedImage | string | |||
| File | MediaFile | |||
| GeneratePostSummary | bool? | |||
| GroupId | int? | |||
| Id | int? | |||
| IsApproved | bool? | |||
| IsExternal | bool? | |||
| IsFeatured | bool? | |||
| IsLocked | bool? | |||
| IsPostEnabled | bool? | |||
| PostType | string | |||
| PublishedDate | DateTime? | |||
| RenderedHtml | string | |||
| RenderedProperty | string | |||
| RenderTarget | string | |||
| SearchUniqueId | string | |||
| Slug | string | |||
| Tags | IList<string> | |||
| TitleUrl | string | |||
| Url | string | |||
| UsePostSummary | bool? | |||
| Views | int? |
Methods
bool GetExtendedAttributeBool(string name, bool defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | bool | Default Value | Required |
Return Type
bool
DateTime GetExtendedAttributeDateTime(string name, DateTime defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | DateTime | Default Value | Required |
Return Type
DateTime
Guid GetExtendedAttributeGuid(string name, Guid defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | Guid | Default Value | Required |
Return Type
Guid
int GetExtendedAttributeInt(string name, int defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | int | Default Value | Required |
Return Type
int
string GetExtendedAttributeString(string name, string defaultValue);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| name | string | Name | Required | ||
| defaultValue | string | Default Value | Required |
Return Type
string