Method | Description | |
---|---|---|
AcceptedAnswerIdRules ( ) : void | ||
AnswerCountRules ( ) : void | ||
ApiPostServerRequestModelValidator ( IPostRepository postRepository ) : Codenesium.DataConversionExtensions | ||
BodyRules ( ) : void | ||
ClosedDateRules ( ) : void | ||
CommentCountRules ( ) : void | ||
CommunityOwnedDateRules ( ) : void | ||
CreationDateRules ( ) : void | ||
FavoriteCountRules ( ) : void | ||
LastActivityDateRules ( ) : void | ||
LastEditDateRules ( ) : void | ||
LastEditorDisplayNameRules ( ) : void | ||
LastEditorUserIdRules ( ) : void | ||
OwnerUserIdRules ( ) : void | ||
ParentIdRules ( ) : void | ||
PostTypeIdRules ( ) : void | ||
ScoreRules ( ) : void | ||
TagRules ( ) : void | ||
TitleRules ( ) : void | ||
ValidateAsync ( model, int id ) : Task |
||
ValidateCreateAsync ( model ) : Task |
||
ValidateDeleteAsync ( int id ) : Task |
||
ValidateUpdateAsync ( int id, model ) : Task |
||
ViewCountRules ( ) : void |
Method | Description | |
---|---|---|
BeValidPostByParentId ( int? id, CancellationToken cancellationToken ) : Task |
||
BeValidPostTypeByPostTypeId ( int id, CancellationToken cancellationToken ) : Task |
||
BeValidUserByLastEditorUserId ( int? id, CancellationToken cancellationToken ) : Task |
||
BeValidUserByOwnerUserId ( int? id, CancellationToken cancellationToken ) : Task |
public ApiPostServerRequestModelValidator ( IPostRepository postRepository ) : Codenesium.DataConversionExtensions | ||
postRepository | IPostRepository | |
return | Codenesium.DataConversionExtensions |
protected BeValidPostByParentId ( int? id, CancellationToken cancellationToken ) : Task |
||
id | int? | |
cancellationToken | CancellationToken | |
return | Task |
protected BeValidPostTypeByPostTypeId ( int id, CancellationToken cancellationToken ) : Task |
||
id | int | |
cancellationToken | CancellationToken | |
return | Task |
protected BeValidUserByLastEditorUserId ( int? id, CancellationToken cancellationToken ) : Task |
||
id | int? | |
cancellationToken | CancellationToken | |
return | Task |
protected BeValidUserByOwnerUserId ( int? id, CancellationToken cancellationToken ) : Task |
||
id | int? | |
cancellationToken | CancellationToken | |
return | Task |
public ValidateUpdateAsync ( int id, model ) : Task |
||
id | int | |
return | Task |