文章 Comment 类

  • 命名空间: Limyee.Extensibility.Api.Entities.Version1
  • 程序集: Limyee.Api.dll

定义

class Comment
{
	Guid CommentContentTypeId { get;  }
	Guid CommentId { get; set;  }
	Guid? CommentTypeId { get; set;  }
	Content Content { get;  }
	Guid ContentId { get; set;  }
	Guid ContentTypeId { get; set;  }
	DateTime CreatedDate { get; set;  }
	string IPAddress { get; set;  }
	bool IsApproved { get; set;  }
	bool IsFeatured { get; set;  }
	Guid? ParentCommentId { get; set;  }
	int ReplyCount { get; set;  }
	int SortOrder { get; set;  }
	DateTime UpdatedDate { get; set;  }
	int UpdatedUserId { get; set;  }
	string Url { get; set;  }
	User User { get;  }
	int UserId { get; set;  }
	string Body(string target);
	string Body();
}

属性

名称

类型

描述

默认值

选项

CommentContentTypeId

Guid

CommentId

Guid

CommentTypeId

Guid?

Content

Content

ContentId

Guid

ContentTypeId

Guid

CreatedDate

DateTime

IPAddress

string

IsApproved

bool

IsFeatured

bool

ParentCommentId

Guid?

ReplyCount

int

SortOrder

int

UpdatedDate

DateTime

UpdatedUserId

int

Url

string

User

User

UserId

int

方法

string Body(string target);

参数

名称

类型

描述

必需

默认值

选项

target

string

Target

Required

返回类型

string

string Body();

返回类型

string