BlogPostBeforeCreateEventArgs
is defined in the Telligent.Evolution.Extensibility.Api.Version1
namespace of Telligent.Evolution.Blogs.dll
Definition
class BlogPostBeforeCreateEventArgs { Application Application { get; } User Author { get; set; } string AvatarUrl { get; } int? BlogId { get; } string Body { get; set; } int? CommentCount { get; } Guid ContentId { get; } Guid ContentType { get; } DateTime CreatedDate { get; } string Excerpt { get; set; } ApiList<ExtendedAttribute> ExtendedAttributes { get; } string FeaturedImage { get; } MediaFile File { get; } bool GeneratePostSummary { get; set; } int? GroupId { get; } int? Id { get; } WeblogPost InternalEntity { get; } bool? IsApproved { get; set; } bool? IsExternal { get; set; } bool? IsFeatured { get; } bool? IsLocked { get; set; } bool? IsPostEnabled { get; } string PostType { get; } DateTime? PublishedDate { get; set; } string SearchUniqueId { get; } string Slug { get; set; } IList<string> Tags { get; set; } string Title { get; set; } string TitleUrl { get; set; } string Url { get; } bool UsePostSummary { get; set; } 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); void SetExtendedAttributeDateTime(string name, DateTime value); void SetExtendedAttributeGuid(string name, Guid value); void SetExtendedAttributeInt(string name, int value); void SetExtendedAttributeString(string name, string value); }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
Application | Application | |||
Author | User | |||
AvatarUrl | string | |||
BlogId | int? | |||
Body | string | |||
CommentCount | int? | |||
ContentId | Guid | |||
ContentType | Guid | |||
CreatedDate | DateTime | |||
Excerpt | string | |||
ExtendedAttributes | ApiList<ExtendedAttribute> | |||
FeaturedImage | string | |||
File | MediaFile | |||
GeneratePostSummary | bool | |||
GroupId | int? | |||
Id | int? | |||
InternalEntity | WeblogPost | |||
IsApproved | bool? | |||
IsExternal | bool? | |||
IsFeatured | bool? | |||
IsLocked | bool? | |||
IsPostEnabled | bool? | |||
PostType | string | |||
PublishedDate | DateTime? | |||
SearchUniqueId | string | |||
Slug | string | |||
Tags | IList<string> | |||
Title | 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
void SetExtendedAttributeDateTime(string name, DateTime value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | string | Name | Required | ||
value | DateTime | Value | Required |
void SetExtendedAttributeGuid(string name, Guid value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | string | Name | Required | ||
value | Guid | Value | Required |
void SetExtendedAttributeInt(string name, int value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | string | Name | Required | ||
value | int | Value | Required |
void SetExtendedAttributeString(string name, string value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
name | string | Name | Required | ||
value | string | Value | Required |