ForumThreadBeforeCreateEventArgs
is defined in the Telligent.Evolution.Extensibility.Api.Version1
namespace of Telligent.Evolution.Forums.dll
Definition
class ForumThreadBeforeCreateEventArgs { int? AnswerCount { get; } Application Application { get; } bool? Approved { get; set; } User Author { get; set; } bool? AutoApprove { get; set; } string AvatarUrl { get; } string Body { get; set; } Guid ContentId { get; } DateTime? Date { get; set; } string EditNotes { get; set; } int? EmoticonId { get; set; } string Excerpt { get; set; } ApiList<ExtendedAttribute> ExtendedAttributes { get; } string FeaturedImage { get; } MediaFile File { get; } int? ForumId { get; } int? ForumReplyId { get; } int? GroupId { get; } bool? HasPoll { get; set; } bool? HasRead { get; } int? Id { get; } Thread InternalEntity { get; } bool? IsAnnouncement { get; } bool? IsAnonymous { get; } bool? IsFeatured { get; } bool? IsLocked { get; set; } bool? IsPopular { get; } bool? IsSticky { get; set; } DateTime? LastReadDate { get; } int? LatestForumReplyAuthorId { get; } int? LatestForumReplyId { get; } DateTime? LatestPostDate { get; } int? Points { get; } string PollDescription { get; set; } DateTime? PollExpirationDate { get; set; } string PollItemIndexes { get; set; } string PollTitle { get; set; } int? PostLevel { get; } string PostMedia { get; set; } string PostType { get; } int QualityNoVotes { get; } int QualityScore { get; } int QualityYesVotes { get; } double? Rating { get; } int? ReplyCount { get; } string SearchUniqueId { get; } int? SortOrder { get; } int? SpamScore { get; } string SpamStatus { get; } DateTime? StickyDate { get; set; } string Subject { get; set; } int? SubscriberCount { get; } int? SuggestedAnswerCount { get; } IList<string> Tags { get; set; } string ThreadStatus { get; } string ThreadType { get; } int TotalQualityVotes { get; } string Url { get; } string UserHostAddress { get; } int? ViewCount { 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 |
---|---|---|---|---|
AnswerCount | int? | |||
Application | Application | |||
Approved | bool? | |||
Author | User | |||
AutoApprove Obsolete | bool? | AutoApprove is no longer honored. Configure permissions or use an IAbuseDetector plugin to automate ForumThread moderation. Obsolete. Configure permissions or use an IAbuseDetector plugin to automate ForumThread moderation. | ||
AvatarUrl | string | |||
Body | string | |||
ContentId | Guid | |||
Date | DateTime? | |||
EditNotes | string | |||
EmoticonId | int? | |||
Excerpt | string | |||
ExtendedAttributes | ApiList<ExtendedAttribute> | |||
FeaturedImage | string | |||
File | MediaFile | |||
ForumId | int? | |||
ForumReplyId | int? | |||
GroupId | int? | |||
HasPoll Obsolete | bool? | Use the poll api instead | ||
HasRead | bool? | |||
Id | int? | |||
InternalEntity | Thread | |||
IsAnnouncement | bool? | |||
IsAnonymous | bool? | |||
IsFeatured | bool? | |||
IsLocked | bool? | |||
IsPopular | bool? | |||
IsSticky | bool? | |||
LastReadDate | DateTime? | |||
LatestForumReplyAuthorId | int? | |||
LatestForumReplyId | int? | |||
LatestPostDate | DateTime? | |||
Points | int? | |||
PollDescription Obsolete | string | Use Poll APIs instead | ||
PollExpirationDate Obsolete | DateTime? | Use Poll APIs instead | ||
PollItemIndexes Obsolete | string | Use Poll APIs instead | ||
PollTitle Obsolete | string | Use Poll APIs instead | ||
PostLevel | int? | |||
PostMedia | string | |||
PostType | string | |||
QualityNoVotes | int | |||
QualityScore | int | |||
QualityYesVotes | int | |||
Rating | double? | |||
ReplyCount | int? | |||
SearchUniqueId | string | |||
SortOrder | int? | |||
SpamScore | int? | |||
SpamStatus | string | |||
StickyDate | DateTime? | |||
Subject | string | |||
SubscriberCount | int? | |||
SuggestedAnswerCount | int? | |||
Tags | IList<string> | |||
ThreadStatus | string | |||
ThreadType | string | |||
TotalQualityVotes | int | |||
Url | string | |||
UserHostAddress | string | |||
ViewCount | 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 |