CommentRenderEventArgs
is defined in the Telligent.Evolution.Extensibility.Api.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
class CommentRenderEventArgs { Guid CommentId { get; } Guid? CommentTypeId { get; } Content Content { get; } DateTime CreatedDate { get; } ApiList<ExtendedAttribute> ExtendedAttributes { get; } string IPAddress { get; } bool IsApproved { get; } bool IsFeatured { get; } Guid? ParentCommentId { get; } string RenderedHtml { get; set; } string RenderedProperty { get; set; } string RenderTarget { get; set; } int ReplyCount { get; } int SortOrder { get; } DateTime UpdatedDate { get; } User User { get; } int UserId { 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 |
---|---|---|---|---|
CommentId | Guid | |||
CommentTypeId | Guid? | |||
Content | Content | |||
CreatedDate | DateTime | |||
ExtendedAttributes | ApiList<ExtendedAttribute> | |||
IPAddress | string | |||
IsApproved | bool | |||
IsFeatured | bool | |||
ParentCommentId | Guid? | |||
RenderedHtml | string | |||
RenderedProperty | string | |||
RenderTarget | string | |||
ReplyCount | int | |||
SortOrder | int | |||
UpdatedDate | DateTime | |||
User | User | |||
UserId | 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